I'm not aware of any significant use of -g1.  It is very rare for
anyone
to mention it in a bug report for instance.  Once upon a time (before
2002-03-19), it was used for compiling libgcc, but that was just to
ensure that it got tested somewhere.  From my Cisco experience, I
would
agree that backtraces without line numbers are not very useful.  It
would be OK with me if these changes were added to -g1 instead of
creating a new -gmlt option.

Jim

Is anyone still working on this?

It would be very useful to include this option in gcc trunk, and have
either -g1 or -gmlt emit line number information. This saves
considerable space and time during compilation for large builds where
full debug info is not needed, but line numbers in stack traces are
still helpful (e.g. regression testing opt builds)

If I can help somehow, please let me know how.

Best regards,
Martin

https://codereview.appspot.com/4440072/

Reply via email to