This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/1878: C++ 2.95.[23] gets an internal compiler error on IRIX 6.5.x
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/1878: C++ 2.95.[23] gets an internal compiler error on IRIX 6.5.x
- From: ats at first dot gmd dot de
- Date: 5 Feb 2001 19:25:59 -0000
- Reply-To: ats at first dot gmd dot de
>Number: 1878
>Category: c++
>Synopsis: C++ 2.95.[23] gets an internal compiler error on IRIX 6.5.x
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 05 11:26:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Andreas Schulz
>Release: gcc-2.95.2 and gcc-2.95.3-test2
>Organization:
>Environment:
IRIX 6.5.9
ats@iris[863] gcc -v
Reading specs from /opt/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.3/specs
gcc version 2.95.3 20010112 (prerelease)
>Description:
The following c++ code gives an internal compiler error
on SGI's if compiled with c++ -g -c . Works okay on
all other machines ( SUN solaris and sunos , freebsd ,
linux). The failure only happens with -g . The file is
already preprocessed through cpp and then stripped down
to the smallest possible size that generates the failure.
The original was a 8000 lines monster. Now it is 30 lines.
>How-To-Repeat:
a c++ -g -c fehler.cc on an irix should produce it, i hope.
>Fix:
Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="fehler.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="fehler.cc"
CmNsYXNzCm9jdGF2ZV9jaGlsZAp7CnB1YmxpYzoKCiAgfm9jdGF2ZV9jaGlsZCAodm9pZCkgeyB9
CiAgIAp9OwoKY2xhc3MKb2N0YXZlX2NoaWxkX2xpc3QKewoKcHVibGljOgoKICBzdGF0aWMgb2N0
YXZlX2NoaWxkJiBlbGVtIChpbnQgaSkKICAgIHsKICAgICAgc3RhdGljIG9jdGF2ZV9jaGlsZCBm
b287CgogICAgICByZXR1cm4gZm9vOwogICAgfQp9OwoKCnN0YXRpYyB2b2lkIApzaWdjaGxkX2hh
bmRsZXIgKGludCAgKQp7CiAgICAgIG9jdGF2ZV9jaGlsZCYgZWx0ID0gb2N0YXZlX2NoaWxkX2xp
c3Q6OmVsZW0gKDEpOwp9Cg==