Bug 20089 - g++ -- Internal error: Segmentation fault
g++ -- Internal error: Segmentation fault
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: gcc (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-10-31 06:18 EST by Nikolaj Logvinov
Modified: 2007-04-18 12:29 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-11-02 09:29:48 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Nikolaj Logvinov 2000-10-31 06:18:21 EST
The following code generate internal g++ compiler fault during compilation:
file y.cc:

class A {
  class B {
  };
};

void
A::B::f() {
}

with the following diagnostics:

y.cc:7: no `void A::B::f ()' member function declared in class `A::B'
y.cc:7: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.

Regards,
Nikolaj Logvinov
Comment 1 Jakub Jelinek 2000-11-02 09:29:45 EST
Will be fixed in gcc-2.96-63 (is fixed in my tree).

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