This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/53316] Introduce -Odebug


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]