This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/11580] New: gcc seems to generate wrong-code for some inline-assembly
- From: "rehsack at liwing dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jul 2003 17:28:58 -0000
- Subject: [Bug inline-asm/11580] New: gcc seems to generate wrong-code for some inline-assembly
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11580
Summary: gcc seems to generate wrong-code for some inline-
assembly
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P1
Component: inline-asm
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rehsack at liwing dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: FreeBSD 5.1-CURRENT i386
GCC host triplet: FreeBSD 5.1-CURRENT i386
GCC target triplet: FreeBSD 5.1-CURRENT i386
When building the freebsd 5.1-current kernel with the newly introduced
gcc-3.3.1, the assembler gets "invalid character '_' in mnemonic" in some places.
/usr/libexec/cc1 -E -quiet -nostdinc -v -I- -I. -I/usr/src/sys
-I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpica
-I/usr/src/sys/contrib/ipfilter -I/usr/src/
sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -D__GNUC__=3
-D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=1 -D_LONGLONG -DNO_WERROR -D_KERNEL
-include opt_global.h /usr/src/sys/dev/ata/ata-all.c -mmmx -msse -msse2
-mfpmath=sse -march=pentium4 -mno-align-long-strings
-mpreferred-stack-boundary=2 -std=c99 -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -fno-common -ffreestanding -O ata-all.i
#include "..." search starts here:
#include <...> search starts here:
.
/usr/src/sys
/usr/src/sys/dev
/usr/src/sys/contrib/dev/acpica
/usr/src/sys/contrib/ipfilter
/usr/src/sys/contrib/dev/ath
/usr/src/sys/contrib/dev/ath/freebsd
End of search list.
/usr/libexec/cc1 -fpreprocessed ata-all.i -quiet -dumpbase ata-all.c -mmmx
-msse -msse2 -mfpmath=sse -march=pentium4 -mno-align-long-strings
-mpreferred-stack-boundary=2 -auxbase ata-all -O -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual -std=c99 -version -fformat-extensions -fno-common
-ffreestanding -o ata-all.s
GNU C version 3.3.1 [FreeBSD] 20030711 (prerelease) (i386-undermydesk-freebsd)
compiled by GNU C version 3.3.1 [FreeBSD] 20030711 (prerelease).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
/usr/bin/as -v -o ata-all.o ata-all.s
GNU assembler version 2.13.2 [FreeBSD] 2002-11-27 (i386-obrien-freebsd5) using
BFD version 2.13.2 [FreeBSD] 2002-11-27
ata-all.s: Assembler messages:
ata-all.s:7652: Error: invalid character '_' in mnemonic
*** Error code 1