https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15272
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2013-01-19 00:00:00 |2016-3-14 CC| |msebor at gcc dot gnu.org Known to fail|5.2.0 |4.5.3, 4.8.3, 4.9.3, 5.3.0, | |6.0 --- Comment #13 from Martin Sebor <msebor at gcc dot gnu.org> --- Reconfirming as still present in 6.0 (and all prior versions): $ cat v.c && /home/msebor/build/gcc-trunk-svn/gcc/xgcc -B/home/msebor/build/gcc-trunk-svn/gcc -S -Wall -Wextra -Wpedantic -xc++ v.c struct X { void f (); }; struct Y { void f (); }; template <class T> struct A: T, X { void foo () { f (); } }; template struct A<Y>; v.c: In instantiation of ‘void A<T>::foo() [with T = Y]’: v.c:11:17: required from here v.c:7:5: error: request for member ‘f’ is ambiguous f (); ^ v.c:1:17: note: candidates are: void X::f() struct X { void f (); }; ^ v.c:2:17: note: void Y::f() struct Y { void f (); }; ^