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 | |
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')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/simplify-rtx.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3dc469a..6ed4c8f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-03-25 Adam Nemet <anemet@caviumnetworks.com> + + * simplify-rtx.c (simplify_relational_operation): Call + simplify_relational_operation_1 even if mode is VOIDmode. + 2006-03-25 Daniel Berlin <dberlin@dberlin.org> PR tree-optimization/26804 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; |