https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99835
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=100036
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Really, same underlying issue as PR 100036.
The late-ness of static-var which allows some non-optimized code to be inlined
and IPA-SRA creates a clone which then no longer is called later on.