This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/16698] New: Segmentation Fault when trying to compile code using exceptions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]