[Bug other/53316] Introduce -Odebug

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 11 09:01:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53316

--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-11 08:56:41 UTC ---
(In reply to comment #6)
> A big question for -Odebug is e.g. if we should enable var-tracking for it or
> not.  While it is time consuming, it should improve the debug experience, there
> are various cases where -O -g is actually better debuggable than -O0 -g which
> doesn't do var-tracking, e.g. with register vars, or VLAs, or during
> prologues/epilogues.

Well, -Odebug should aid debugging, so yes, we should enable var-tracking for
it (we can throttle the limiting --params more if compile-time is going to be
an issue).  Of course we should evaluate the actual benefit of
var-tracking for -Odebug when it materializes.



More information about the Gcc-bugs mailing list