[Bug gcov-profile/100145] missed optimization for dead code elimination at -O3 (vs. -O2)

2023-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100145 --- Comment #4 from Andrew Pinski --- (In reply to Richard Biener from comment #2) > So we get optimize_edge_for_size_p () returning OPTIMIZE_SIZE_BALANCED and > thus optimize_edge_for_speed_p which is > > 340 bool > 341

[Bug gcov-profile/100145] missed optimization for dead code elimination at -O3 (vs. -O2)

2021-05-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100145 --- Comment #3 from Richard Biener --- Note after inlining we still have a backedge into BB 3: [local count: 1073741824]: c = 0; b.1_7 = b; if (b.1_7 != 0) goto ; [34.00%] else goto ; [66.00%] [local count: 3318838410]:

[Bug gcov-profile/100145] missed optimization for dead code elimination at -O3 (vs. -O2)

2021-04-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100145 Richard Biener changed: What|Removed |Added Component|ipa |gcov-profile --- Comment #2 from