On Tue, Nov 12, 2024 at 04:32:29PM +0100, Jakub Jelinek wrote: > I wanted to avoid -O0 or -Og in case user wants to step through the global > constructor or functions called from there, the optimization (and it is an > optimization, so I think optimize is appropriate in any case) changes the > debugging experience.
Not to mention that the pass isn't encountered with -Og or -O0 (it is among passes which are only done for non-O0/-Og, -Og has its own post-IPA pass queue and -O0 skips it). Jakub