c++/1491: Stupid syntax error causes a compiler internal error
cfernandez@myalert.com
cfernandez@myalert.com
Thu Dec 21 08:46:00 GMT 2000
>Number: 1491
>Category: c++
>Synopsis: Stupid syntax error causes a compiler internal error
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 21 08:46:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: qt
>Release: unknown-1.0
>Organization:
>Environment:
linux
>Description:
A small error in a file causes a compiler internal error.
>How-To-Repeat:
Just compile with
cc -o qt qt.cc
qt.cc is a very small file that recreates the problem. It uses no include files.
>Fix:
Correct the syntax error in qt.cc works around the problem.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="qt.cc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="qt.cc"
CmludCBtYWluICgpCnsKCWNoYXIgbGluZVsyMDBdOwoJY2hhciAqc3Q9c3RyY2hyIChsaW5lLCdc
cicpOwogICAgICAgIGlmIChzdD09TlVMTCkKICAgICAgICAJKnN0PXN0cmNociAobGluZSwnXG4n
KTsKICAgICAgIAlpZiAoc3QhPT1OVUxMKQogICAgICAgICpzdD0wOwp9Cgo=
More information about the Gcc-bugs
mailing list