Code generation BUG in arm-elf-gcc

Vadim Lebedev vlebedev@aplio.fr
Wed May 17 07:19:00 GMT 2000


arm-elf-gcc generates refernce to non-existent label.

in the resulting file gccbug.s  near line 147, there is  following following
code
.L563:
	.word	.LC0
	.word	.L561

but the label .L561 does not exist!!!!



arm-elf-gcc -D__KERNEL__ -I/home/vadim/AplioTRIO/linux/include -mcpu=arm7tdm
i -fno-strict-aliasing -mapcs-32 -Wall -Wstrict-prototypes -O2  -fno-strengt
h-reduce -v -DNO_MM   -S  -save-temps gccbug.c
Reading specs from /home/vadim/arm/lib/gcc-lib/arm-elf/2.96/specs
gcc version 2.96 20000517 (experimental)

/home/vadim/arm/lib/gcc-lib/arm-elf/2.96/cpp -lang-c -v -I/home/vadim/AplioT
RIO/linux/include -D__GNUC__=2 -D__GNUC_MINOR__=96 -D__GNUC_PATCHLEVEL__=0 -
Acpu(arm) -Amachine(arm) -D__CHAR_UNSIGNED__ -D__OPTIMIZE__ -Wall -Wstrict-p
rototypes -D__ARM_ARCH_4T__ -D__APCS_32__ -D__ARMEL__ -Darm_elf -D__ELF__ -D
arm -D__arm__ -D__KERNEL__ -DNO_MM gccbug.c gccbug.i
GNU CPP version 2.96 20000517 (experimental) (cpplib)
 (ARM/ELF non-Linux)
ignoring nonexistent directory `/home/vadim/arm/arm-elf/sys-include'
#include "..." search starts here:
#include <...> search starts here:
 /home/vadim/AplioTRIO/linux/include
 /home/vadim/arm/lib/gcc-lib/arm-elf/2.96/include
 /home/vadim/arm/arm-elf/include
End of search list.
 /home/vadim/arm/lib/gcc-lib/arm-elf/2.96/cc1 gccbug.i -quiet -dumpbase
gccbug.c -mcpu=arm7tdmi -mapcs-32 -O2 -Wall -Wstrict-prototypes -version -fn
o-strict-aliasing -fno-strength-reduce -o gccbug.s
GNU C version 2.96 20000517 (experimental) (arm-elf) compiled by GNU C
version 2.7.2.3.
In file included from /home/vadim/AplioTRIO/linux/include/asm/termios.h:59,
                 from /home/vadim/AplioTRIO/linux/include/linux/termios.h:5,
                 from /home/vadim/AplioTRIO/linux/include/linux/tty.h:20,
                 from /home/vadim/AplioTRIO/linux/include/linux/sched.h:33,
                 from gccbug.c:38:
/home/vadim/AplioTRIO/linux/include/linux/string.h:30: warning: conflicting
types for built-in function `memset'
/home/vadim/AplioTRIO/linux/include/linux/string.h:31: warning: conflicting
types for built-in function `memcpy'
/home/vadim/AplioTRIO/linux/include/linux/string.h:34: warning: conflicting
types for built-in function `memcmp'


-------------- next part --------------
A non-text attachment was scrubbed...
Name: gccbug.i.gz
Type: application/x-gzip
Size: 35573 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000517/b3c7ab0b/attachment.bin>


More information about the Gcc-bugs mailing list