[Bug tree-optimization/114318] Missing Optimization after multiple function calls

2024-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114318

--- Comment #2 from Andrew Pinski  ---
(In reply to Richard Biener from comment #1)
> That's because main is cold.

Or rather known to be called once which causes the path to be considered cold
unless there is a loop.

[Bug tree-optimization/114318] Missing Optimization after multiple function calls

2024-03-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114318

Richard Biener  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #1 from Richard Biener  ---
That's because main is cold.