[Bug middle-end/39193] Internal compiler error during FreeBSD 7.1 kernel compilation

cyberleo at cyberleo dot net gcc-bugzilla@gcc.gnu.org
Sun Jan 31 11:21:00 GMT 2010



------- Comment #11 from cyberleo at cyberleo dot net  2010-01-31 11:21 -------
Created an attachment (id=19763)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19763&action=view)
Preprocessed source

Seems to exist on 8.0-RELEASE-p2, but only when -Os and certain -march are
used.

cc (GCC) 4.2.1 20070719  [FreeBSD]

(ec575ad3)[cyberleo@x86 /usr/src/sys/modules/scsi_low]$ cc -Os -march=c3-2
-fno-strict-aliasing -Wno-error -D_KERNEL -DKLD_MODULE -nostdinc  
-DHAVE_KERNEL_OPTION_HEADERS -include
/usr/obj/usr/srcs/RELENG_8_0/src/sys/VITANI-MINIMAL/opt_global.h -I. -I@
-I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common -g
-I/usr/obj/usr/srcs/RELENG_8_0/src/sys/VITANI-MINIMAL -mno-align-long-strings
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3
-ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
-fformat-extensions -c
/usr/srcs/RELENG_8_0/src/sys/modules/scsi_low/../../cam/scsi/scsi_low.c
/usr/srcs/RELENG_8_0/src/sys/modules/scsi_low/../../cam/scsi/scsi_low.c: In
function 'scsi_low_disconnected':
/usr/srcs/RELENG_8_0/src/sys/modules/scsi_low/../../cam/scsi/scsi_low.c:4194:
internal compiler error: in unify_nodes, at tree-ssa-structalias.c:1231
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Although adding -save-temps rids me of the crash.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39193



More information about the Gcc-bugs mailing list