diff options
author | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-11 21:29:44 +0000 |
---|---|---|
committer | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-11 21:29:44 +0000 |
commit | 873983a1f2ba7303096c00439011669b9caf2985 (patch) | |
tree | 71449eb2dc70b78cbc480d30e7489a694d4d3ba2 /gcc/loop-iv.c | |
parent | de6ed5846892c841e115de7caad20010f1af0f8d (diff) | |
download | gcc-873983a1f2ba7303096c00439011669b9caf2985.tar.gz |
PR rtl-optimization/30113
* loop-iv.c (implies_p): Require the mode of the operands to be
scalar.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119748 138bc75d-0d04-0410-961f-82ee72b054a4
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 e234fd93b79..fcf4a2525af 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; |