Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 21861 - g++: Internal error: Segmentation fault
g++: Internal error: Segmentation fault
Product: Red Hat Linux
Classification: Retired
Component: gcc (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2000-12-06 19:03 EST by bastiaan
Modified: 2007-04-18 12:30 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-12-06 19:03:43 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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 00:00:00 EST

  None (edit)
Description bastiaan 2000-12-06 19:03:41 EST
The following (invalid) code generates a segfault:

#include <vector>

int main() {
    vector<int&> v;

$ g++ refbug.cpp
/usr/include/g++-3/stl_vector.h:364: forming pointer to reference type 
`int &'
/usr/include/g++-3/stl_vector.h:364: Internal error: Segmentation fault
Comment 1 Jakub Jelinek 2000-12-20 07:17:31 EST
Fixed in gcc-c++-2.96-69.

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