Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / pr105835.c
blob354c81c672073478f0cf60a1aa018d0c410cc2db
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-optimized" } */
4 void foo();
6 static int b;
8 static short a(short c, unsigned short d) { return c - d; }
10 int main() {
11 int e = -(0 < b);
12 if (a(1, e))
13 b = 0;
14 else
15 foo();
18 /* { dg-final { scan-tree-dump-not "goto" "optimized" } } */