2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr38774.c
blobd6d7fcb0ff55e86b7a707d6aae195592f1a01748
1 /* PR rtl-optimization/38774 */
2 /* { dg-do compile } */
3 /* { dg-options "" } */
4 /* { dg-options "-march=i686" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
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;