https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98465
Jeffrey A. Law <law at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |law at redhat dot com --- Comment #10 from Jeffrey A. Law <law at redhat dot com> --- What about fixing the -g interaction? Much like how -g shouldn't affect code generation, it probably shouldn't be affecting warnings like this. There may be more we can/should do here, but that seems like a good place to start.