1 /* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */ 2 /* { dg-options "-O2 -fdump-rtl-expand" } */ 3 foo(float a,float b)4int foo(float a, float b) { 5 if (a == b) 6 return 1; 7 else 8 return 2; 9 } 10 11 /* { dg-final { scan-rtl-dump-times "REG_BR_PROB 100" 1 "expand"} } */ 12 /* { dg-final { cleanup-rtl-dump "expand" } } */ 13