This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28383] New: "ICE: segmentation fault" on bad destructor definition
- From: "jaak dot ra at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jul 2006 19:07:28 -0000
- Subject: [Bug c++/28383] New: "ICE: segmentation fault" on bad destructor definition
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Hi, my first bug report here.
The code crashes gcc 4.1.1 but 3.4.4 does what it's supposed to and gives nice
error message. Anyways, here's the file gcc suggested me to send, i hope it
helps :)
// /usr/libexec/gcc/i386-pc-linux-gnu/4.1.1/cc1plus -quiet -D_GNU_SOURCE
crash.cpp -quiet -dumpbase crash.cpp -auxbase crash -o - -frandom-seed=0
# 1 "crash.cpp"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "crash.cpp"
namespace Test { class Test; }
Test::~Test() { }
The error gcc gives:
crash.cpp:2: internal compiler error: Segmentation fault
...
--
Summary: "ICE: segmentation fault" on bad destructor definition
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jaak dot ra at gmail dot com
GCC build triplet: 4.1.1
GCC host triplet: 4.1.1
GCC target triplet: 4.1.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28383