2011-10-24 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Oct 2011 12:31:01 +0000 (12:31 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Oct 2011 12:31:01 +0000 (12:31 +0000)
commita927c5fa8a3ed8135a800ecb5efc4bd94043c5e5
tree58fa5569a0a61b2ddf609acd913fff4129d1cc27
parent6fffb47b3402e38cec568581c1ea688df67885af
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180381 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr50838.c [new file with mode: 0644]
gcc/tree-data-ref.c