https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94960
--- Comment #10 from Jan Hubicka ---
Note that passing function body to middle-end does not only enable inlining,
but other optimizations too. Often ipa-modref is able to summarize side effects
of the function and enables more optimization, since
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94960
--- Comment #9 from Erich Keane ---
> But in C++20 every function is 'constexpr' now, so every function is inline
> anyway, right? Even the large functions that aren't good candidates for
> inlining (see also PR 93008). So The 'inline' keyword ha
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94960
--- Comment #8 from Jonathan Wakely ---
(In reply to Erich Keane from comment #6)
> (In reply to Jonathan Wakely from comment #5)
> > And if we have to mark every single function as 'inline' then maybe the
> > compiler shouldn't be using it as a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94960
--- Comment #7 from Jason Merrill ---
C++17 and below said,
Except for inline functions and variables, declarations with types deduced from
their initializer or return value (10.1.7.4), const variables of literal types,
variables of reference t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94960
--- Comment #6 from Erich Keane ---
(In reply to Jonathan Wakely from comment #5)
> (In reply to Erich Keane from comment #3)
> > As you know, "extern template" is a hint to the compiler that we don't need
> > to emit the template as a way to sav
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94960
--- Comment #5 from Jonathan Wakely ---
(In reply to Erich Keane from comment #3)
> As you know, "extern template" is a hint to the compiler that we don't need
> to emit the template as a way to save on compile time.
>
> Both GCC and clang will
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94960
Richard Biener changed:
What|Removed |Added
CC||hubicka at gcc dot gnu.org,