http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57425
Bill Schmidt <wschmidt at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wschmidt at gcc dot gnu.org
--- Comment #12 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
(In reply to Eric Botcazou from comment #5)
> > Note that I only recently fixed a wrong alias query from using
> > true_dependence to anti_dependence. Similar issues may exist elsewhere.
>
> That would point to cselib_invalidate_mem then. It uses
> canon_true_dependence but here we have an anti-dependence (WAR).
I believe I've run into this problem in 4.8 as well when compiling some code
for powerpc64le-linux-gnu (so for now that is on ibm/gcc-4_8-branch). At least
I'm seeing invalid commoning involving memory references in cselib, and the
problem doesn't reproduce on trunk.
Does anyone have a patch in progress for backporting this fix to 4.8?