OSDN Git Service

PR target/50740
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / i386 / cold-attribute-2.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 #include <string.h>
4 t(int c)
5 {
6   if (__builtin_expect (c, 0))
7     {
8       cold_hint ();
9       return c * 11;
10     }
11   return c;
12 }
13
14 /* { dg-final { scan-assembler "imul" } } */