https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87813
--- Comment #7 from rguenther at suse dot de <rguenther at suse dot de> --- On Mon, 5 Nov 2018, aldyh at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87813 > > --- Comment #6 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- > (In reply to Martin Sebor from comment #5) > > The sprintf pass doesn't do any optimization at -O0 but it still runs to > > diagnose the subset of mistakes that are detectable even without > > optimization. > > Yes, but my point is that the way things are laid out right now, we are > running > full evrp at -Og and *that* seems like an optimization, because it's affecting > the IL later on. Running EVRP at -Og probably isn't so bad, but yes - it takes compile-time (also at -O0)