This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28300] In-class partial specialization of class accepted
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Apr 2007 15:31:58 -0000
- Subject: [Bug c++/28300] In-class partial specialization of class accepted
- References: <bug-28300-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from reichelt at gcc dot gnu dot org 2007-04-29 16:31 -------
Expanding the testcase a little one can also trigger ICEs, e.g.:
==========================================
template<typename> struct A
{
template<typename T> struct A<T*>
{
template<typename> void foo() {}
};
};
==========================================
bug.cc:5: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28300