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