https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108351
Jeffrey A. Law changed:
What|Removed |Added
Priority|P3 |P2
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108351
--- Comment #5 from Martin Jambor ---
If you rename main to something else, like bar, and so the calls to f
outside of the loop are not considered cold, you get the GCC 12
behavior. Is this reduced from a real-world problem?
Because on the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108351
--- Comment #4 from Xionghu Luo (luoxhu at gcc dot gnu.org) ---
> early inline pass inlines the two calls with C front-end but fails to inline
> them with C++ front-end due to "growth 8 exceeds --param
> early-inlining-insns divided by number
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108351
Xionghu Luo (luoxhu at gcc dot gnu.org) changed:
What|Removed |Added
CC||yinyuefengyi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108351
--- Comment #2 from Andrew Pinski ---
I noticed that with the C++ front-end early inline inlines f into main but with
the C front-end it does not ...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108351
Martin Liška changed:
What|Removed |Added
Summary|[13 Regression] Dead Code |[13 Regression] Dead Code