2014-06-10 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Jun 2014 14:10:57 +0000 (14:10 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Jun 2014 14:10:57 +0000 (14:10 +0000)
commit608927af6397cf6f7171a014c65f462ff60306ec
treefbc36a8e81a99186a057a1438ffb4e9d47919bfc
parent74ad6d83e4e7e6164825d157a48ed8034f8bd45a
2014-06-10  Richard Biener  <rguenther@suse.de>

PR middle-end/61456
* tree-ssa-alias.c (nonoverlapping_component_refs_of_decl_p):
Do not use the main variant for the type comparison.
(ncr_compar): Likewise.
(nonoverlapping_component_refs_p): Likewise.

* g++.dg/opt/pr61456.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211411 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr61456.C [new file with mode: 0644]
gcc/tree-ssa-alias.c