--- Additional Comments From reichelt at gcc dot gnu dot org 2004-11-13
00:33 ---
A reduced testcase is the following:
template void foo();
template > struct A
{
template A(T);
};
A<> a(0);
The bug
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-11
23:30 ---
Note the code has some invalid C++ in that if you compile with 3.4.0 you will
get some errors.
Also I could reproduce this on a 3.3 based compiler from Apple.
Also I don't get the ICE on the mainline comp
--- Additional Comments From mark at easterbrook dot org dot uk 2004-11-11
22:21 ---
(From update of attachment 7521)
The error occured when the template at line 32849 was added:
template
class...
If this is removed the error does not occur (obviously the code won't then
compile becaus
--- Additional Comments From mark at easterbrook dot org dot uk 2004-11-11
22:17 ---
Created an attachment (id=7521)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7521&action=view)
Intermediate file (.ii)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18435
--- Additional Comments From mark at easterbrook dot org dot uk 2004-11-11
22:15 ---
Created an attachment (id=7520)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7520&action=view)
Output from gcc -v
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18435