http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61013
Richard Henderson <rth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rth at gcc dot gnu.org --- Comment #9 from Richard Henderson <rth at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #8) > So, my preference would be to revert to the 4.8 and older behavior, or if > there really is consensus that -g1 -g should mean -g2 rather than -g1, at > least change it so that -g3 -g means -g3 (so revert your change and > for *arg == '\0' instead of the 4.8: > if (!opts->x_debug_info_level) > opts->x_debug_info_level = DINFO_LEVEL_NORMAL; > do: > if (opts->x_debug_info_level < DINFO_LEVEL_NORMAL) > opts->x_debug_info_level = DINFO_LEVEL_NORMAL; I agree on both points.