https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100068
--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> --- The latter: in f1() warn for the redeclaration of g1() in the nested scope. That's where GCC and other compilers differ.
msebor at gcc dot gnu.org via Gcc-bugs Tue, 13 Apr 2021 14:43:40 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100068
--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> --- The latter: in f1() warn for the redeclaration of g1() in the nested scope. That's where GCC and other compilers differ.