This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16698] New: Segmentation Fault when trying to compile code using exceptions
- From: "gkajmowi at tbaytel dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jul 2004 04:31:23 -0000
- Subject: [Bug c++/16698] New: Segmentation Fault when trying to compile code using exceptions
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I am attempting to implement the standard C++ library bit at a time, and the
little bit I am compiling is giving me problems, segfaulting when compiling.
This has occurred with GC versions 3.3.3 and 3.3.4. Please let me know what the
problem is, and if it has been fixed in another version. I am unwilling to
corrupt my distribution by installing a non-available version of Gcc, but will
wait for an appropriate version to be available.
Attached is the pre-preocessed source file. The throw std::bad_cast(); line is
the one which is causing problems. throw int(5) causes the exact same problem.
--
Summary: Segmentation Fault when trying to compile code using
exceptions
Product: gcc
Version: 3.3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gkajmowi at tbaytel dot net
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16698