public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/7378: Internal compiler error instead of syntax error message
@ 2002-07-22 13:56 kstubbs
0 siblings, 0 replies; only message in thread
From: kstubbs @ 2002-07-22 13:56 UTC (permalink / raw)
To: gcc-gnats; +Cc: mcmillen
>Number: 7378
>Category: c++
>Synopsis: Internal compiler error instead of syntax error message
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jul 22 13:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Kristen Stubbs and Colin McMillen
>Release: gcc version 2.95.3 20010315 (release)
>Organization:
>Environment:
OS:
Linux floyd 2.4.14 #1 Fri Nov 16 14:04:23 CST 2001 i686 unknown
>Description:
There is a syntax error in Test.cpp on line 21 - a semicolon is missing. Rather than flagging the error, the compiler gives the following output:
kstubbs@floyd (/project/distr/users/kstubbs) % g++ -save-temps -c Test.cpp
Test.cpp:23: Internal compiler error.
Test.cpp:23: Please submit a full bug report.
Test.cpp:23: See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
See attached file.
>Fix:
To prevent the compiler error, add a semicolon to line 21, fixing the syntax error.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="Test.ii"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Test.ii"
IyAxICJUZXN0LmNwcCIKY2xhc3MgRm9vIHsKICBGb28oKTsKfTsKCmNsYXNzIEJhcjsKCnRlbXBs
YXRlPGNsYXNzIFgsIGNsYXNzIFksIGNsYXNzIFo+IGNsYXNzIEJheiB7CiAgcHVibGljOgogIFog
b3BlcmF0b3IoKShYLFkpOwp9OwoKY2xhc3MgUXV1eCB7CnB1YmxpYzoKICBpbnQgZ2V0Rm91cigp
IHsgcmV0dXJuIDQ7IH0KfTsKCmNsYXNzIEJhciA6IHB1YmxpYyBCYXo8UXV1eCosUXV1eCosYm9v
bD4gewogIGJvb2wgb3BlcmF0b3IoKShRdXV4KiB4LCBRdXV4KiB5KSB7CiAgICByZXR1cm4geC0+
Z2V0Rm91cigpID09IHktPmdldEZvdXIoKTsKICB9Cn0KCkZvbzo6Rm9vKCkge30KCg==
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-07-22 20:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-22 13:56 c++/7378: Internal compiler error instead of syntax error message kstubbs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).