Subject: bin/126: compiling wd.c with optimizations can cause cc1 crash
To: None <gnats-admin>
From: Brian de Alwis <bsdealwi@undergrad.math.uwaterloo.ca>
List: netbsd-bugs
Date: 02/12/1994 14:50:04
>Number: 126
>Category: bin
>Synopsis: compiling wd.c with optimizations can cause cc1 crash
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Feb 12 14:50:03 1994
>Originator: Brian de Alwis
>Organization:
" independent"
>Release: gcc 2.4.5
>Environment:
i386-33, ITT 387 NPX
-current to 2/6
System: NetBSD portia 0.9a PORTIA#13 i386
>Description:
Compiling /sys/arch/i386/isa/wd.c with -O2 -fomit-frame-pointer
causes gcc to crash with:
cc: Internal compiler error: program cc1 got fatal signal 11
>How-To-Repeat:
<code/input/activities to reproduce the problem (multiple lines)>
Modify your /sys/arch/i386/compile/.../Makefile's CFLAGS to change
the optimizations to `-O2 -fomit-frame-pointer'. Remove wd.o, and
`make wd.o'.
>Fix:
>Audit-Trail:
>Unformatted:
------------------------------------------------------------------------------