c++/6723: ICE on source code successfully compiled by previous versions

gawrilow@math.tu-berlin.de gawrilow@math.tu-berlin.de
Sun May 19 14:16:00 GMT 2002


>Number:         6723
>Category:       c++
>Synopsis:       ICE on source code successfully compiled by previous versions
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Sun May 19 14:16:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ewgenij Gawrilow
>Release:        3.1
>Organization:
>Environment:
RedHat Linux 7.2 on an AMD Athlon PC

$ g++ -v

Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1/specs

Configured with: ../gcc-3.1/configure --enable-shared --enable-threads=posix --with-gxx-include-dir=/usr/local/include/C++ --enable-languages=c++,java --with-cpu=athlon --enable-libgcj --disable-nls --with-system-zlib

Thread model: posix
gcc version 3.1
>Description:
The attached code snippet was successfully compiled by
gcc 3.0.2 .. 3.0.4, but now causes 3.1 to crash with segmentation fault.

>How-To-Repeat:
Just try to compile the code. Although extremely short, it
suffices to trigger the bug.
>Fix:

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

dGVtcGxhdGUgPHR5cGVuYW1lIEEsIHR5cGVuYW1lIEIsIHRlbXBsYXRlIDx0eXBlbmFtZSx0eXBl
bmFtZT4gY2xhc3MgUHJlZGljYXRlLAogICAgICAgICAgYm9vbCBfbWF0Y2hlcz1QcmVkaWNhdGU8
QSxCPjo6YW5zd2VyPgpzdHJ1Y3QgaGVscGVyIHsgfTsK



More information about the Gcc-bugs mailing list