c++/10853: Parse internal error on ambiguous syntax.
warwick@trolltech.com
warwick@trolltech.com
Mon May 19 08:50:00 GMT 2003
>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==
More information about the Gcc-bugs
mailing list