[Bug debug/61013] [4.9/4.10 Regression] Option parsing difference between < 4.9 and 4.9

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 8 14:53:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61013

--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
As mentioned in PR77454, do we want to treat -gdwarf-N the same as -g (in
addition to setting the dwarf version), or should it be treated just like
setting of the DWARF version only if some debug info level is already enabled?
In particular, the questionable option order is
-g1 -gdwarf-4
which is now treated like
-g1 -g2 -gdwarf-4
rather than
-gdwarf-4 -g1


More information about the Gcc-bugs mailing list