http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52395
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jamborm at gcc dot gnu.org,
| |rguenth at gcc dot gnu.org
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-02-27
10:00:09 UTC ---
Btw, the issue is
??? But it is not at all clear that prev_base is an access
that was in the IL that way, so be conservative for now.
I can trivially eliminate one caller to build_ref_for_offset (from ipa-cp.c)
and privatize the routine to tree-sra.c, but IPA SRA callers remain and
those are the problematic ones I think.
Martin, can we make sure that 'base' as passed to build_ref_for_offset
is not artificially constructed by any of its callers? Thus, that it is
at most the result of stripping some handled-component-refs from an
existing reference tree (that was not wrapped inside an ADDR_EXPR) in the IL?