This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/52395] [4.7 Regression] Alignment issue at O2


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]