OSDN Git Service

2010-05-09 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr37663.c
1 /* PR tree-optimization/37663 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fwrapv" } */
4 /* { dg-require-effective-target int32plus } */
5
6 extern void bar (void);
7
8 void
9 foo (int x)
10 {
11   x = 1 >= x;
12   int y = -1885403717;
13   x = x + (x != y * y);
14   if (x)
15     bar ();
16 }