Date: Mon, 21 Feb 2000 11:35:13 +0200 From: Maxim Sobolev <sobomax@altavista.net> To: current@freebsd.org Subject: gcc code generation bug (optimisation related) Message-ID: <38B106D0.B416F877@altavista.net>
next in thread | raw e-mail | index | archive | help
Hi, When I'm trying to compile kernel from just cvsup'ed sources on system builded/installed last evening I have following error message. This problem could be solved by lowering optimisation to -O, but previously I have no problems with -O2 for kernels. cc -c -O2 -march=pentium -Wall -Wredundant-decls -Wnested-externs -Wstrict-proto types -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-exten sions -ansi -nostdinc -I- -I. -I../.. -I../../../include -D_KERNEL -include op t_global.h -elf -mpreferred-stack-boundary=2 ../../i386/i386/machdep.c /tmp/ccfL2694.s: Assembler messages: /tmp/ccfL2694.s:3563: Error: operands given don't match any known 386 instruction *** Error code 1 Following is the assembler code in question: .L659: movl %ecx,%eax jmp .L658 .p2align 2,0x90 .L643: testb $1,%bl je .L644 #APP movl %dr0,-16(%ebp) <-------Line 3563 is here #NO_APP movl $1,%ecx .L644: testb $2,%bl je .L646 #APP movl %dr1,%edx #NO_APP leal -16(%ebp),%eax movl %edx,(%eax,%ecx,4) incl %ecx -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38B106D0.B416F877>