gcc/
commite9b545c764ea5983e6ceeda9d5076094bc1adfb3
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Apr 2012 10:56:11 +0000 (10 10:56 +0000)
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Apr 2012 10:56:11 +0000 (10 10:56 +0000)
tree9f559ce5f418780d6e5c5935bdbfec342c5aa91f
parentee0af6e08536390531eb0bcbbb7978721297b19f
gcc/
PR tree-optimization/52870
* tree-vect-patterns.c (vect_recog_widen_mult_pattern): Verify that
presumed pattern statement is within the same loop or basic block.

gcc/testsuite/
PR tree-optimization/52870
* gcc.dg/vect/pr52870.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186272 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr52870.c [new file with mode: 0644]
gcc/tree-vect-patterns.c