This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14368] New: ICE in lookup_template_function, at cp/pt.c:4006
- From: "jbuck at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Mar 2004 18:09:42 -0000
- Subject: [Bug c++/14368] New: ICE in lookup_template_function, at cp/pt.c:4006
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
>From gavinband@tiscali.co.uk:
The attached program causes an ICE in GCC 3.3.3:
test.cxx: In function `int main()':
test.cxx:12: internal compiler error: in lookup_template_function, at cp/pt.c:
4013
The 3.4 branch gives a diagnostic:
test.cxx: In function `int main()':
test.cxx:12: error: expected init-declarator before '<' token
test.cxx:12: error: expected `,' or `;' before '<' token
--
Summary: ICE in lookup_template_function, at cp/pt.c:4006
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jbuck at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14368