This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53492] [g++ (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1 ] internal compiler error: in retrieve_specialization, at cp/pt.c:985
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 May 2012 10:29:17 +0000
- Subject: [Bug c++/53492] [g++ (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1 ] internal compiler error: in retrieve_specialization, at cp/pt.c:985
- Auto-submitted: auto-generated
- References: <bug-53492-4@http.gcc.gnu.org/bugzilla/>
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]