Bug 21662 - g++: Internal error: Segmentation fault
Summary: g++: Internal error: Segmentation fault
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gcc
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-12-03 22:28 UTC by bastiaan
Modified: 2007-04-18 16:30 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2000-12-06 14:36:30 UTC


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2000:132 normal SHIPPED_LIVE Bug fixing update of GCC 2.96 2000-12-19 05:00:00 UTC

Description bastiaan 2000-12-03 22:28:36 UTC
The following (invalid) code generates a segfault:

class ConstBug {
    public: 
    static void doBug();
};

void ConstBug::doBug() const {
}

$ g++ -c constbug.cpp
constbug.cpp:6: Internal error: Segmentation fault.

Comment 1 Jakub Jelinek 2000-12-06 14:36:27 UTC
Typo, which seems to be fixed by:
2000-10-20  Jeffrey Oldham  <oldham@codesourcery.com>

        * decl.c (revert_static_member_fn): Fixed typo.
in CVS gcc, have just added it to our patchset and it will appear in
gcc-c++-2.96-65


Note You need to log in before you can comment on or make changes to this bug.