https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95807
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Severity|normal |enhancement Last reconfirmed| |2020-06-22 --- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Haoxin Tu from comment #4) > As other major compilers reject this by default, I just suggest GCC should > emit a appropriate diagnostic message (maybe a warning is fine). What practical impact does this have on any real world code? Why should we spend time on that, rather than the million other things we have to fix? Obviously in an ideal world GCC would be perfect, but the majority of your bug reports are asking for time to be spent on things that just don't matter. If you really want it fixed, you can always do it yourself: https://gcc.gnu.org/contribute.html