aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/20030820-1.c
blob: f86fb3978f4f60df79865300377cea8e97841253 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR middle-end/11984 */
/* The following program used to ICE in fold because we didn't check
   whether the constants we were reassociating were integer constants
   before calling tree_int_cst_lt.  */

/* { dg-do compile } */
/* { dg-options "-O2 -ffast-math" } */

double f(double x)
{
  return 1.0 - x - 0.1;
}