summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/20080908-3_0.C
blob: dac3cddb60865e3b34a037eaa96b134dd765ec93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-lto-do run }  */

volatile double bar;

int foo()
{
 double baz = -__builtin_huge_val();
 return baz <= -bar;
}

int main()
{
  if (foo () != 1)
    return 1;
  return 0;
}