https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100068
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=99420
Keywords| |wrong-code
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
I noticed this while testing my fix for pr99420. I don't think it's terribly
important so the bug is mainly to record the difference between GCC and other
compilers. Rather than trying to change the code GCC emits to match other
compilers I would suggest to solve the problem by issuing a diagnostic for the
"mismatched" declarations.