This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/721: ICE when using reserved words as identifiers
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/721: ICE when using reserved words as identifiers
- From: roman at augan dot com
- Date: 1 Nov 2000 21:42:03 -0000
- Reply-To: roman at augan dot com
- Resent-Cc: gcc-prs at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, jason at gcc dot gnu dot org
- Resent-Reply-To: gcc-gnats@gcc.gnu.org, roman@augan.com
>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: