1 /* { dg-do compile } */
2 /* { dg-options "-O2 --param=builtin-expect-probability=100" } */
3 #include <string.h>
4 void cold_hint (void);
5 int
t(int c)6 t(int c)
7 {
8   if (__builtin_expect (c, 0))
9     {
10       cold_hint ();
11       return c * 11;
12     }
13   return c;
14 }
15 
16 /* { dg-final { scan-assembler "imul" } } */
17