http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53316
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2012-05-11 AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org |gnu.org | Summary|Change -O1 to be easily |Introduce -Odebug |debugged and on by default | Ever Confirmed|0 |1 --- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-11 08:38:41 UTC --- (In reply to comment #4) > > As it stands, does anyone even use -O1? It seems like it would be a major > > improvement to make it useful. > > Of course people do use -O1 and making such an incompatible change to it is > out > of question I think. That's largely orthogonal to introducing -Odebug (and > making it the default) in my opinion. Of course people should realize that -O1 is by no means "maintained" as in tuned in any way to do something reasonable. At the moment it wastes much time for no good reason, just selectively turning off some optimizations. Re-tuning -O1 definitely makes sense - maybe not to the point we'd want to go with -Odebug. I'm taking this bug as a request to add -Odebug, something I was working on, so - mine.