diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/combine.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 86973f66dc8..c5144a91bf9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Feb 11 19:03:22 MET 2003 Jan Hubicka <jh@suse.cz> + + * combine.c (combine_simplify_rtx): Fix folding of + nested float_truncates. + 2003-02-11 Kazu Hirata <kazu@cs.umass.edu> * config/h8300/h8300.md (a peephole2): Fix a typo. diff --git a/gcc/combine.c b/gcc/combine.c index d33f280ba7e..aaf701fb543 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -4184,7 +4184,7 @@ combine_simplify_rtx (x, op0_mode, last, in_dest) > GET_MODE_SIZE (mode) ? FLOAT_TRUNCATE : FLOAT_EXTEND, mode, - XEXP (XEXP (XEXP (x, 0), 0), 0), mode); + XEXP (XEXP (x, 0), 0), mode); /* (float_truncate (float x)) is (float x) */ if (GET_CODE (XEXP (x, 0)) == FLOAT |