re PR tree-optimization/50838 (ice in refs_may_alias_p_1 with -O3)
authorRichard Guenther <rguenther@suse.de>
Mon, 24 Oct 2011 12:31:01 +0000 (12:31 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 24 Oct 2011 12:31:01 +0000 (12:31 +0000)
commit0a500dd3acd012e36ffdd1518640d1c701fa890c
tree58fa5569a0a61b2ddf609acd913fff4129d1cc27
parent30e1709cc9c5281ffbe47cc7c27864bd9785e6a4
re PR tree-optimization/50838 (ice in refs_may_alias_p_1 with -O3)

2011-10-24  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/50838
* tree-data-ref.c (dr_analyze_indices): Properly canonicalize
a MEM_REF base if we change it.

* gcc.dg/torture/pr50838.c: New testcase.

From-SVN: r180381
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr50838.c [new file with mode: 0644]
gcc/tree-data-ref.c