This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]