This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/53316] Introduce -Odebug
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 11 May 2012 08:52:51 +0000
- Subject: [Bug other/53316] Introduce -Odebug
- Auto-submitted: auto-generated
- References: <bug-53316-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53316
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-05-11 08:52:51 UTC ---
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.