]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/pr103837.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr103837.c
CommitLineData
3c5fd361
JJ
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" } */
4
5unsigned long int
6foo (int x)
7{
8 double a;
9 int b;
10 unsigned long int ret = a;
11
12 for (;;)
13 {
14 b = !!((int) a);
15 a = x;
16 }
17
18 return ret;
19}