This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9779: [3.4 regression] ICE in type_unknown_p when castingin static member
- From: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- To: bkoz at redhat dot com, gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org,nobody at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, stefan at snon dot net
- Date: Thu, 20 Feb 2003 21:51:23 +0100
- Subject: Re: c++/9779: [3.4 regression] ICE in type_unknown_p when castingin static member
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9779
devphil says:
: Search converges between 2002-12-27-trunk (#85) and 2002-12-28-trunk
(#86).
Line-numbered input is:
========================================
1 void *malloc(unsigned int size);
2 template<int> void foo() {
3 malloc (sizeof (int));
4 }
5 template void foo<1>();
6
========================================
Diagnostic output follows, from the last compiler tested:
input: In function `void foo()':
input:3: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
Compiler output follows, from the last compiler tested:
.file "input"
So, 99% sure that this is caused by the new parser.
Greetz
Steven