http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48695
--- Comment #11 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-04-21 14:40:57 UTC --- Author: rguenth Date: Thu Apr 21 14:40:53 2011 New Revision: 172831 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172831 Log: 2011-04-21 Richard Guenther <rguent...@suse.de> PR middle-end/48695 * tree-ssa-alias.c (aliasing_component_refs_p): Compute base objects and types here. Adjust for their offset before comparing. * g++.dg/torture/pr48695.C: New testcase. Added: branches/gcc-4_6-branch/gcc/testsuite/g++.dg/torture/pr48695.C Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/testsuite/ChangeLog branches/gcc-4_6-branch/gcc/tree-ssa-alias.c