public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/10853: Parse internal error on ambiguous syntax.
@ 2003-05-19 7:56 warwick
0 siblings, 0 replies; 2+ messages in thread
From: warwick @ 2003-05-19 7:56 UTC (permalink / raw)
To: gcc-gnats
>Number: 10853
>Category: c++
>Synopsis: Parse internal error on ambiguous syntax.
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 19 07:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: warwick@trolltech.com
>Release: 3.2
>Organization:
>Environment:
i486-suse-linux
>Description:
Small attached file gives internal compiler error (new in 3.2):
ambigsyntaxcrash.cpp: In function `void func()':
ambigsyntaxcrash.cpp:12: type specifier omitted for parameter `
Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
gcc ambigsyntaxcrash.cpp
>Fix:
Disambiguate syntax (eg. "int(d)" becomes "(int)(d)").
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-c++src; name="ambigsyntaxcrash.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="ambigsyntaxcrash.cpp"
Y2xhc3MgVHlwZSB7CnB1YmxpYzoKICAgIFR5cGUoaW50LGludCk7Cn07Cgp2b2lkIGZ1bmMoKQp7
CiAgICBkb3VibGUgZDsKICAgIGludCBpKCk7CgogICAgLy8gT0sgdG8gZ2V0IGNvbmZ1c2VkICg/
KSwgbm90IE9LIHRvICJpbnRlcm5hbCBjb21waWxlciBlcnJvciIKICAgIFR5cGUgdmFyKChpbnQp
KGQpLCBpKCkpOwp9Cg==
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c++/10853: Parse internal error on ambiguous syntax.
@ 2003-05-19 8:37 giovannibajo
0 siblings, 0 replies; 2+ messages in thread
From: giovannibajo @ 2003-05-19 8:37 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, warwick
Synopsis: Parse internal error on ambiguous syntax.
State-Changed-From-To: open->closed
State-Changed-By: bajo
State-Changed-When: Mon May 19 08:37:29 2003
State-Changed-Why:
Fixed in 3.3 and mainline (3.4). 3.3 does not ICE anymore but it fails to compile the code. Mainline correctly
compiles the code as expected (the code should compile). I
suggest you to upgrade.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10853
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-19 8:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-19 7:56 c++/10853: Parse internal error on ambiguous syntax warwick
2003-05-19 8:37 giovannibajo
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).