On Fri, Jun 10, 2011 at 9:15 PM, Jan Hubicka <hubi...@ucw.cz> wrote: >> On Fri, Jun 10, 2011 at 8:42 PM, Jan Hubicka <hubi...@ucw.cz> wrote: >> > Hi, >> > by some mistake we enable functions called once at -O0 and it actually >> > happens from >> > time to time. >> >> Why do it for -O1? It definitely makes debugging less reliable. I'd say do >> it >> for -O[23s] only. > > Well, that is what we did before. I tought -O1 is mostly for optimizations > that are not too expensive and usually win (rahter than about debugability of > the output) and I think this one counts here. But I don't have very strong > optinions either way.
I think we also suggested at some point that -O1 optimizations shouldn't interfere with debugging too much. But if it is what we did before it's certainly fine. Richard. > Honza >