2005-03-16 Daniel Berlin <dberlin@dberlin.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr20940.c
blob8edc35e8a45aa167137214739982c980b654d5fe
1 /* { dg-do compile } */
2 /* { dg-options "-O -ftree-pre" } */
3 static int a;
4 static int b;
6 typedef int gint;
8 int blah ()
10 gint x = a;
11 gint y = b;
13 x *= (x < 0) ? -1 : 0;
14 y *= (y < 0) ? -1 : 0;
16 return (y * x);