[Bug c/88584] GCC thinks that the type is complete dispite shaddowing.

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Dec 23 20:04:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88584

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>      extern int a[];
Is already have the completed type in the global scope and the declaration
merged with it:
  int a[1] = { 0 };



So I think GCC is correct here.


More information about the Gcc-bugs mailing list