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/53364] [4.7/4.8 Regression] Wrong code generation


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53364

--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-16 11:07:46 UTC ---
This is aliasing_component_refs_p returning that *D.2309_15 does not
alias MEM[(struct A *)&D.2249].m_x (This is *(struct B *)&D.2249 vs.
*(struct A *)&D.2249)

This is because this is a view-converted base but we don't detect that
properly in indirect_ref_may_alias_decl_p.

I have a patch.


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