NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
toolchain/39019: [dM] gcc crash
>Number: 39019
>Category: toolchain
>Synopsis: [dM] cc1 SIGILL crash
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 22 15:50:00 +0000 2008
>Originator: der Mouse
>Release: NetBSD 4.0
>Organization:
Dis-
>Environment:
System: NetBSD NetBSD-4-0.Rodents.Montreal.QC.CA 4.0 NetBSD 4.0 (GENERIC) #0:
Sun Dec 16 00:20:10 PST 2007
builds@wb34:/home/builds/ab/netbsd-4-0-RELEASE/i386/200712160005Z-obj/home/builds/ab/netbsd-4-0-RELEASE/src/sys/arch/i386/compile/GENERIC
i386
Architecture: i386
Machine: i386
>Description:
When run on a suitable input file, the compiler crashes:
cc: Internal error: Illegal instruction (program cc1)
Please submit a full bug report.
See <URL:http://www.NetBSD.org/Misc/send-pr.html> for instructions.
Reading /usr/src/gnu/dist/gcc4/gcc/doc/bugreport.texi leads me
to think the FSF considers this a bug, so they presumably want
to hear about it.
>How-To-Repeat:
(echo int i =; dd if=/dev/zero bs=1048576 count=10 | tr \\0 \() > z.c
cc -c z.c
>Fix:
None. This is a contrived case, of course. The gcc shipped
with 4.0 uses a recursive-descent parser, whicih this is
designed to run out of stack. Nor is the crash unexpected
given the input, or, really, even harmful (thus
non-tricial/low) - but bugreport.texi indicates the FSF
considers it a bug anyway.
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse%rodents-montreal.org@localhost
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Home |
Main Index |
Thread Index |
Old Index