diff options
author | Adam Nemet <anemet@caviumnetworks.com> | 2006-03-25 21:58:01 +0000 |
---|---|---|
committer | Adam Nemet <nemet@gcc.gnu.org> | 2006-03-25 21:58:01 +0000 |
commit | 30a440a7f63f172fedc74aaeedfc354b334cdb3b (patch) | |
tree | 908b1fb6cce26744b4bb426964c01c926224a44b /gcc/simplify-rtx.c | |
parent | 5068c62534ea09fb508d49be3e596a637eee54d0 (diff) | |
download | gcc-30a440a7f63f172fedc74aaeedfc354b334cdb3b.zip gcc-30a440a7f63f172fedc74aaeedfc354b334cdb3b.tar.gz gcc-30a440a7f63f172fedc74aaeedfc354b334cdb3b.tar.bz2 |
simplify-rtx.c (simplify_relational_operation): Call simplify_relational_operation_1 even if mode is VOIDmode.
* simplify-rtx.c (simplify_relational_operation): Call
simplify_relational_operation_1 even if mode is VOIDmode.
From-SVN: r112383
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r-- | gcc/simplify-rtx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index e00e9cc..cac77ad 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -3517,8 +3517,7 @@ simplify_relational_operation (enum rtx_code code, enum machine_mode mode, return simplify_relational_operation (code, mode, VOIDmode, XEXP (op0, 0), XEXP (op0, 1)); - if (mode == VOIDmode - || GET_MODE_CLASS (cmp_mode) == MODE_CC + if (GET_MODE_CLASS (cmp_mode) == MODE_CC || CC0_P (op0)) return NULL_RTX; |