aboutsummaryrefslogtreecommitdiff
path: root/gcc/lists.c
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2002-06-07 23:42:53 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2002-06-07 23:42:53 +0000
commit437f1df1afacb10132608f3cf27f4289c1bdbe1c (patch)
treebfcf15db0019b5665c4cb88b677704f02c0b89ad /gcc/lists.c
parentcd24b8a4033454aaac4cf053291fbc9bd0743016 (diff)
downloadgcc-437f1df1afacb10132608f3cf27f4289c1bdbe1c.zip
gcc-437f1df1afacb10132608f3cf27f4289c1bdbe1c.tar.gz
gcc-437f1df1afacb10132608f3cf27f4289c1bdbe1c.tar.bz2
fold-const.c (fold): Place both integer and real constants last in comparisons.
* fold-const.c (fold) [EQ_EXPR]: Place both integer and real constants last in comparisons. Optimize (x+1.0)>0.0 into the equivalent x > -1.0 when -ffast-math. * gcc.dg/20020607-2.c: New test case. From-SVN: r54356
Diffstat (limited to 'gcc/lists.c')
0 files changed, 0 insertions, 0 deletions