This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]