This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
preprocessor/7355: ice on array lookup outside function causes GCC segfault
- From: carterp at uoguelph dot ca
- To: gcc-gnats at gcc dot gnu dot org
- Date: 19 Jul 2002 01:51:19 -0000
- Subject: preprocessor/7355: ice on array lookup outside function causes GCC segfault
- Reply-to: carterp at uoguelph dot ca
>Number: 7355
>Category: preprocessor
>Synopsis: ice on array lookup outside function causes GCC segfault
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Thu Jul 18 18:56:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Patrick Carter
>Release: gcc 2.96 20000731 (Red Hat 7.0)
>Organization:
>Environment:
Red Hat Linux 7.0
HP Visualize workstation
Pentium III (Coppermine) 731.080 MHz (measured)
>Description:
The source file causes an internal compiler error.
The reason is not known. Unfortunately, I will have
to ask the sysadmin how gcc was installed, but I don't
believe there are any modifications.
Error messages:
xform.c:1: `i' undeclared here (not in a function)
xform.c:1: Internal error: Segmentation fault.
(snip)
>How-To-Repeat:
just type "gcc xform.c". That should recreate the problem.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="xform.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="xform.c"
YVtpXSA9IDA7Cg==