This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/52395] [4.7 Regression] Alignment issue at O2
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 27 Feb 2012 10:00:09 +0000
- Subject: [Bug tree-optimization/52395] [4.7 Regression] Alignment issue at O2
- Auto-submitted: auto-generated
- References: <bug-52395-4@http.gcc.gnu.org/bugzilla/>
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?