diff options
author | Zdenek Dvorak <dvorakz@suse.cz> | 2006-12-11 22:29:44 +0100 |
---|---|---|
committer | Zdenek Dvorak <rakdver@gcc.gnu.org> | 2006-12-11 21:29:44 +0000 |
commit | d45388291382c29d4c7c7ce8a9b130499ffedd9c (patch) | |
tree | 71449eb2dc70b78cbc480d30e7489a694d4d3ba2 /gcc/loop-iv.c | |
parent | cfaab3a92418d34e14bb0fa447c052fce9f6057b (diff) | |
download | gcc-d45388291382c29d4c7c7ce8a9b130499ffedd9c.zip gcc-d45388291382c29d4c7c7ce8a9b130499ffedd9c.tar.gz gcc-d45388291382c29d4c7c7ce8a9b130499ffedd9c.tar.bz2 |
re PR rtl-optimization/30113 (ICE in trunc_int_for_mode)
PR rtl-optimization/30113
* loop-iv.c (implies_p): Require the mode of the operands to be
scalar.
From-SVN: r119748
Diffstat (limited to 'gcc/loop-iv.c')
-rw-r--r-- | gcc/loop-iv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop-iv.c b/gcc/loop-iv.c index e234fd9..fcf4a25 100644 --- a/gcc/loop-iv.c +++ b/gcc/loop-iv.c @@ -1490,7 +1490,7 @@ implies_p (rtx a, rtx b) mode = VOIDmode; } - if (mode != VOIDmode + if (SCALAR_INT_MODE_P (mode) && rtx_equal_p (op1, opb1) && simplify_gen_binary (MINUS, mode, opb0, op0) == const1_rtx) return true; |