https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85509
Andrew Pinski changed:
What|Removed |Added
Severity|normal |enhancement
--- Comment #6 from Andrew
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85509
--- Comment #5 from ASA ---
> > I would expect this is likely true for any non-const static duration
> > function pointer, not just the case when the auto type specifier is used,
> > but I have not confirmed it.
>
> But it is the case for any
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85509
--- Comment #4 from Richard Biener ---
(In reply to ASA from comment #3)
> (In reply to Richard Biener from comment #2)
> > The issue is you fail to make PerformQuickly and PerformSafely const and GCC
> > doesn't have local analysis to promote
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85509
--- Comment #3 from ASA ---
(In reply to Richard Biener from comment #2)
> The issue is you fail to make PerformQuickly and PerformSafely const and GCC
> doesn't have local analysis to promote it so and IPA analysis is too late
> for that since
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85509
Richard Biener changed:
What|Removed |Added
Keywords||missed-optimization