c++/7788: g++-3.2 internal error: Segmentation fault

jerrysiebe@mindspring.com jerrysiebe@mindspring.com
Sat Aug 31 00:06:00 GMT 2002


>Number:         7788
>Category:       c++
>Synopsis:       g++-3.2 internal error: Segmentation fault
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 31 00:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     jerrysiebe@mindspring.com
>Release:        Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs  Configured with: ../gcc-3.2/configure  Thread model: posix  gcc version 3.2
>Organization:
>Environment:
GNU/Linux, Mandrake 8.2
Athlon XP 1800+
>Description:
foobar.cpp:3: internal error: Segmentation fault

class foo;
extern const foo bar;
class bar;  // kaBoom! :o

I think that says it all.  :)

The following versions don't exhibit this behaviour:
gcc version 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk)
gcc version 3.0.4 (Mandrake Linux 8.2 3.0.4-2mdk)
gcc version 3.1 (Thread model: single, otherwise similar to my 3.2 build)
>How-To-Repeat:
g++ -c foobar.cpp
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="foobar.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="foobar.cpp"

Y2xhc3MgZm9vOwpleHRlcm4gY29uc3QgZm9vIGJhcjsKY2xhc3MgYmFyOwo=



More information about the Gcc-bugs mailing list