https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88584
--- Comment #6 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- This looks like a case that was missed in, or broken by, my fix for bug 13801, which was supposed to address such cases of entities with different (compatible) types in different scopes. It seems GCC handled this correctly (i.e. produced an error) in the 3.4 release series only.