This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/10926] New: A destructor may not be a template:Internal compiler error in build_delete, at cp/init.c:3192
- From: "xueweizhong at mail dot zte dot com dot cn" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 May 2003 07:07:46 -0000
- Subject: [Bug c++/10926] New: A destructor may not be a template:Internal compiler error in build_delete, at cp/init.c:3192
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10926
Summary: A destructor may not be a template:Internal compiler
error in build_delete, at cp/init.c:3192
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: xueweizhong@mail.zte.com.cn
CC: gcc-bugs@gcc.gnu.org
struct Foo
{
template <int i>
~Foo() {}
};
int main()
{
Foo f;
}
~
gcc version 3.2.3:
gcc -c test.cpp:
test.cpp: In function `int main()':
test.cpp:9: Internal compiler error in build_delete, at cp/init.c:3192
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.