re PR tree-optimization/49518 (ICE in vect_enhance_data_refs_alignment, at tree-vect...
authorRichard Guenther <rguenther@suse.de>
Tue, 5 Jul 2011 11:24:26 +0000 (11:24 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 5 Jul 2011 11:24:26 +0000 (11:24 +0000)
commit39becbac3d5c936b5cd5fa69d6f04685216f7e38
tree65d44fb5fd726825cddd622e4483ffc45c59e88b
parent08b3c764e8096983cbede38eecf7a50818c52114
re PR tree-optimization/49518 (ICE in vect_enhance_data_refs_alignment, at tree-vect-data-refs.c:1555)

2011-07-05  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/49518
PR tree-optimization/49628
* tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Skip
irrelevant and invariant data-references.
(vect_analyze_data_ref_access): For invariant loads clear the
group association.

* g++.dg/torture/pr49628.C: New testcase.
* gcc.dg/torture/pr49518.c: Likewise.

From-SVN: r175847
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr49628.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr49518.c [new file with mode: 0644]
gcc/tree-vect-data-refs.c