http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54883
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ABI Status|UNCONFIRMED |NEW Last reconfirmed| |2012-12-09 Known to work| |4.2.4 Target Milestone|--- |4.6.4 Summary|Name mangling of types in |[4.6/4.7/4.8 Regression] |an unnamed namespace |Name mangling of types in | |an unnamed namespace Ever Confirmed|0 |1 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-12-09 02:50:00 UTC --- Confirmed. Simple linktime testcase: echo "namespace { enum E { E1 }; } void f(E e) { }" | tee a.c b.c > /dev/null echo "int main(void){}"> c.c g++ a.c b.c c.c