Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/20030820-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* PR middle-end/11984 */ | |
2 /* The following program used to ICE in fold because we didn't check | |
3 whether the constants we were reassociating were integer constants | |
4 before calling tree_int_cst_lt. */ | |
5 | |
6 /* { dg-do compile } */ | |
7 /* { dg-options "-O2 -ffast-math" } */ | |
8 | |
9 double f(double x) | |
10 { | |
11 return 1.0 - x - 0.1; | |
12 } | |
13 |