c++/721: ICE when using reserved words as identifiers
roman@augan.com
roman@augan.com
Wed Nov 1 13:46:00 GMT 2000
>Number: 721
>Category: c++
>Synopsis: ICE when using reserved words as identifiers
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Wed Nov 01 13:46:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Roman Zippel
>Release: 2.97 20001101 (experimental)
>Organization:
>Environment:
System: Linux sic 2.4.0-test10 #3 SMP Wed Nov 1 20:34:27 CET 2000 i686 unknown
>Description:
gcc aborts with a segmentation fault instead
of an error message when compiling the example below.
This happens with export, struct, class. Other keywords
I tried give an error message.
>How-To-Repeat:
struct test {
//int class(void);
//int struct(void);
int export(void);
};
int test::export(void)
{
return 0;
}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list