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



--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> 2012-12-07 
12:06:40 UTC ---

(In reply to comment #5)

> (In reply to comment #3)

> > -Og -g0 doesn't produce debug info, so it should fail all debugger tests.

> > -Og -g should work.

> 

> -Og -g0 is needed for GDB testsuite which expects unchanged CFLAGS produce no

> DWARF while adding -g to them produces the proper (-Og in this case) dwarf.

> From GCC standpoint it was -Og -g0 -g.



Even though it might be confusing, plain -Og does not generate debug info

(thus it's equivalent to -Og -g0) ;)



I suppose the reason this no longer works is (again) that we don't run

var-tracking at -O0.  Thus indeed WONTFIX may be reasonable.  Leaving at P3

for now.

Reply via email to