https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15538
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2005-06-20 04:11:44 |2016-2-26 CC| |msebor at gcc dot gnu.org Known to fail| |4.9.3, 5.3.0, 6.0 --- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> --- Reconfirmed with 5.3.0 and trunk (6.0): $ cat x.c && /home/msebor/build/gcc-trunk-svn/gcc/xgcc -B/home/msebor/build/gcc-trunk-svn/gcc -S -Wall -Wextra -Wpedantic -o/dev/null -xc++ x.c template <typename D> struct A { typename D::Q r;}; template<typename G> struct H : A<H<G> > { typedef G* Q; }; H<bool> h; x.c: In instantiation of ‘struct A<H<bool> >’: x.c:5:8: required from ‘struct H<bool>’ x.c:7:9: required from here x.c:2:26: error: no type named ‘Q’ in ‘struct H<bool>’ struct A { typename D::Q r;}; ^