[Bug rtl-optimization/100080] missed optimization for dead code elimination at -O3 (vs. -O2)

2023-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100080 --- Comment #3 from Andrew Pinski --- I am thinking we should mark this as won't fix. In VRP2 we have: [local count: 105119324]: _7 = l_20(D) | 1; _8 = (unsigned int) _7; if (_8 <= 1) goto ; [41.00%] else goto ;

[Bug rtl-optimization/100080] missed optimization for dead code elimination at -O3 (vs. -O2)

2023-06-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100080 --- Comment #2 from Andrew Pinski --- (In reply to Richard Biener from comment #1) > Confirmed. At -O2 combine manages to drop the call to foo () (indirectly), > at -O3 it does not. There's not much difference on the GIMPLE level For the

[Bug rtl-optimization/100080] missed optimization for dead code elimination at -O3 (vs. -O2)

2021-04-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100080 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Ever