preprocessor/7355: ice on array lookup outside function causes GCC segfault

carterp@uoguelph.ca carterp@uoguelph.ca
Thu Jul 18 22:39:00 GMT 2002


>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==



More information about the Gcc-bugs mailing list