2015-05-04 Sandra Loosemore <sandra@codesourcery.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr38774.c
blobb62619416ef9a8f723f94c4500dc93411953ef11
1 /* PR rtl-optimization/38774 */
2 /* { dg-do compile } */
3 /* { dg-options "" } */
4 /* { dg-options "-march=i686" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
6 extern int bar (void);
7 volatile int g;
9 int
10 foo (void)
12 int a = 1 >= bar ();
13 if ((1 > 9223372036854775807LL - a && 1 - a ? : 1 + a) & 1)
14 return g;
15 return 0;