diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2000-08-23 07:59:06 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2000-08-23 07:59:06 +0000 |
commit | 95d0e5f1d0700a332288d362070d299cc0d255ee (patch) | |
tree | 1294c08505b338de79848554558b174e66875576 /gcc/cse.c | |
parent | f17eb5d40feeda80aa1e7e6251ff61571958a2ac (diff) | |
download | gcc-95d0e5f1d0700a332288d362070d299cc0d255ee.zip gcc-95d0e5f1d0700a332288d362070d299cc0d255ee.tar.gz gcc-95d0e5f1d0700a332288d362070d299cc0d255ee.tar.bz2 |
simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to simplify_relational_operation() unless...
* simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to
simplify_relational_operation() unless both operands are of
VOIDmode.
* cse.c (fold_rtx): Likewise.
From-SVN: r35904
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -3858,7 +3858,19 @@ fold_rtx (x, insn) } } - new = simplify_relational_operation (code, mode_arg0, + new = simplify_relational_operation (code, + (mode_arg0 != VOIDmode + ? mode_arg0 + : (GET_MODE (const_arg0 + ? const_arg0 + : folded_arg0) + != VOIDmode) + ? GET_MODE (const_arg0 + ? const_arg0 + : folded_arg0) + : GET_MODE (const_arg1 + ? const_arg1 + : folded_arg1)), const_arg0 ? const_arg0 : folded_arg0, const_arg1 ? const_arg1 : folded_arg1); #ifdef FLOAT_STORE_FLAG_VALUE |