2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / predict-8.c
blob8c78ca7fc86ba9685f68ec5eb15d0b2f69cf4b58
1 /* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */
2 /* { dg-options "-O2 -fdump-rtl-expand" } */
4 int foo(float a, float b) {
5 if (a == b)
6 return 1;
7 else
8 return 2;
11 /* { dg-final { scan-rtl-dump-times "REG_BR_PROB 100" 1 "expand"} } */
12 /* { dg-final { cleanup-rtl-dump "expand" } } */