https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100068
--- Comment #4 from Martin Sebor ---
The latter: in f1() warn for the redeclaration of g1() in the nested scope.
That's where GCC and other compilers differ.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100068
--- Comment #3 from Andrew Pinski ---
What diagnostic is missing? That there is unreachable code after the noreturn
functions? There are other bugs for that already?
Or diagnostic when merging the two decls and one was noreturn and the other
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100068
Martin Sebor changed:
What|Removed |Added
Keywords|wrong-code |diagnostic
--- Comment #2 from Martin Se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100068
Martin Sebor changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill