[Bug ipa/103246] [12 Regression] 416.gamess miscompare with -O2 -g -flto=auto since r12-5223-gecdf414bd89e6ba251f6b3f494407139b4dbae0e

hubicka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 17 18:58:13 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103246

--- Comment #19 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
I was too optimistic - the patch does not help.

The problem is related to modref.  With lto-partition=max the problem triggers
while lto-partition=one hides it becuase late tree modref recomputes summaries
and after that things works as expected.  It may be wrong summary produced by
the ipa-modref and streamed to the ltrans or some TBAA related bug. Disabling
TBAA checks from the summary use makes the testcase to pass and there are some
TBAA violation warnings when linking. I am isolating the problematic
disambiguation.


More information about the Gcc-bugs mailing list