[Bug c++/53492] [g++ (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1 ] internal compiler error: in retrieve_specialization, at cp/pt.c:985
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 29 10:29:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53492
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-29 10:29:17 UTC ---
3.4.6 rejects it with
t.C: In function `int main()':
t.C:24: error: no matching function for call to `foo<int>::quux<int>::quux()'
t.C:14: note: candidates are: foo<int>::quux<int>::quux(const
foo<int>::quux<int>&)
t.C:15: note: foo<T>::quux<X>::quux(foo<T>::bat*) [with T =
int]
More information about the Gcc-bugs
mailing list