http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57887
Jaak Ristioja <jaak at ristioja dot ee> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jaak at ristioja dot ee --- Comment #8 from Jaak Ristioja <jaak at ristioja dot ee> --- As a result of a discussion on IRC (#gcc @ OTFC) we came to the conclusion that GCC parsing of the following code (compare with code in Comment #0) was also probably fixed by 204818. struct Outer { template <typename> struct Inner { enum Type { TYPE_1 }; Type m_type = TYPE_1; }; }; Resulted in ICE in GCC 4.7.3 and "invalid use of incomplete type 'enum Outer::Inner< <template-parameter-1-1> >::Type'" in GCC 4.8.2. It was confirmed by user jwakely to parse with GCC 4.9.