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

--- Comment #13 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #11)
> 
> Without -fno-semantic-interposition, the functions that cause the undefined
> behavior is not inlinined so it does not show up there.

I should also mention that modref is basically turned off if not doing
-fno-semantic-interposition with -fPIC for many exported functions.
So the other option to try is -fno-ipa-modref (besides -fno-strict-aliasing).

And if those 2 "work", we need to figure out if there is some aliasing
violation or GCC is wrong; I am suspecting the code has some kind of aliasing
violation.

Reply via email to