diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-21 05:10:54 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-21 05:10:54 +0000 |
commit | 57260f806bd65b98d4861b8bf99739f68295848a (patch) | |
tree | 7d830ae8a0f038689d595a1f106abbaaffb6f57b /gcc/rtlanal.c | |
parent | fa0f49c62cf2c54c57fcc8656af7f48d53858ca4 (diff) | |
download | gcc-57260f806bd65b98d4861b8bf99739f68295848a.tar.gz |
PR rtl-optimization/14851
* rtlanal.c (commutative_operand_precedence): Calculate
precedence of stripped constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87788 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r-- | gcc/rtlanal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 21879d63684..b529d76794c 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -2980,6 +2980,7 @@ commutative_operand_precedence (rtx op) if (code == CONST_DOUBLE) return -6; op = avoid_constant_pool_reference (op); + code = GET_CODE (op); switch (GET_RTX_CLASS (code)) { |