https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91815
--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- Author: ebotcazou Date: Fri Sep 20 09:11:20 2019 New Revision: 275992 URL: https://gcc.gnu.org/viewcvs?rev=275992&root=gcc&view=rev Log: PR c/91815 * c-decl.c (pushdecl): In C detect duplicate declarations across scopes of identifiers in the external scope only for variables and functions. Added: trunk/gcc/testsuite/gcc.dg/typedef-var-1.c trunk/gcc/testsuite/gcc.dg/typedef-var-2.c Modified: trunk/gcc/c/ChangeLog trunk/gcc/c/c-decl.c trunk/gcc/testsuite/ChangeLog