Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / pr103837.c
blob43593d52b6c916f0ef7e1e151b5136ef901ef44b
1 /* PR rtl-optimization/103837 */
2 /* { dg-do compile } */
3 /* { dg-options "-Og -fcompare-debug -fmove-loop-invariants -fnon-call-exceptions -fexceptions -fdelete-dead-exceptions -fno-tree-dce -w" } */
5 unsigned long int
6 foo (int x)
8 double a;
9 int b;
10 unsigned long int ret = a;
12 for (;;)
14 b = !!((int) a);
15 a = x;
18 return ret;