Stop only if there aren't any usable algorithms
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / minmax-1.c
blobb92b8f948a8f40131a381edf2d731ac2c867c5dd
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -march=opteron" } */
3 /* { dg-final { scan-assembler "test" } } */
4 /* { dg-final { scan-assembler-not "cmp" } } */
5 #define max(a,b) (((a) > (b))? (a) : (b))
6 int
7 t(int a)
9 return (max(a,1));