[Bug c++/10722] [3.3 regression] ICE (segfault) when specializing with an invalid type

giovannibajo@libero.it gcc-bugzilla@gcc.gnu.org
Thu May 22 11:39:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10722



------- Additional Comments From giovannibajo@libero.it  2003-05-22 11:27 -------
Again another snippet which causes a segfault and is probably related to this 
bug (comes from 10708, after fixing the first ICE as reported by Volker):
-----------------------------------
template <typename T>
struct Foo<T>
{
    int a;
};
-----------------------------------
pr10708.cpp:4: error: `Foo' is not a template
pr10708.cpp:5: internal compiler error: Segmentation fault
Please submit a full bug report,

Notice that we have 3 testcases for this bug now. I assume it is the same bug; 
if it is not, just let me know and we can split this bug into more PRs.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Gcc-bugs mailing list