bug
John Cotton
John.Cotton@iit.nrc.ca
Sat Jul 31 23:33:00 GMT 1999
description: latest egcs emits illegal instructions for ColdFire
processors when compiling java/lang/natMath.cc in libgcj
host system: i686-redhat-linux 6.0 version: gcc-2.95 19990525
host system: powerpc-ibm-aix4.2.0.0 version: gcc-2.96 19990613
target: m68k-rtemself (m68k with elf output format)
command line:
/home/cotton/build-egcs/gcc/xgcc v --save-temps
-B/home/cotton/build-egcs/gcc/ -B/usr/local/m68k-rtemself/bin/
-idirafter /home/cotton/build-egcs/m68k-rtemself/newlib/targ-include
-idirafter /home/cotton/egcs/newlib/libc/include -nostdinc
-DHAVE_CONFIG_H -I. -I../../../../egcs/libjava -I./include -Iinclude
-I../../../../egcs/libjava/include
-I../../../../egcs/libjava/../compat-include -fno-rtti -fvtable-thunks
-W -Wall -g -O2 -m5200 -c ../../../../egcs/libjava/java/lang/natMath.cc
-o java/lang/natMath.o
output:
Reading specs from /home/cotton/build-egcs/gcc/specs
gcc version gcc-2.95 19990525 (prerelease)
/home/cotton/build-egcs/gcc/cpp -lang-c++ -nostdinc -v -I.
-I../../../../egcs/libjava -I./include -Iinclude
-I../../../../egcs/libjava/include
-I../../../../egcs/libjava/../compat-include -isystem
/usr/local/m68k-rtemself/bin/include -isystem
/home/cotton/build-egcs/gcc/include -D__GNUC__=2 -D__GNUG__=2
-D__GNUC_MINOR__=95 -D__cplusplus -Dmc68000 -Drtems -D__rtems__
-D__ELF__ -D__mc68000__ -D__rtems__ -D__rtems__ -D__ELF__ -D__mc68000
-D__rtems -Asystem(rtems) -Acpu(mc68000) -Acpu(m68k) -Amachine(m68k)
-D__EXCEPTIONS -D__OPTIMIZE__ -g -W -Wall -Dmcf5200 -D__mcf5200__
-D__mcf5200 -DHAVE_CONFIG_H -idirafter
/home/cotton/build-egcs/m68k-rtemself/newlib/targ-include -idirafter
/home/cotton/egcs/newlib/libc/include
../../../../egcs/libjava/java/lang/natMath.cc natMath.ii
GNU CPP version gcc-2.95 19990525 (prerelease) (68k, Motorola syntax)
#include "..." search starts here:
#include <...> search starts here:
.
../../../../egcs/libjava
include
../../../../egcs/libjava/include
../../../../egcs/libjava/../compat-include
/home/cotton/build-egcs/gcc/include
/home/cotton/build-egcs/m68k-rtemself/newlib/targ-include
/home/cotton/egcs/newlib/libc/include
End of search list.
The following default directories have been omitted from the search
path:
/usr/local/lib/gcc-lib/m68k-rtemself/gcc-2.95/../../../../include/g++-2
/usr/local/lib/gcc-lib/m68k-rtemself/gcc-2.95/include
/usr/local/lib/gcc-lib/m68k-rtemself/gcc-2.95/../../../../m68k-rtemself/sys-include
/usr/local/lib/gcc-lib/m68k-rtemself/gcc-2.95/../../../../m68k-rtemself/include
End of omitted list.
/home/cotton/build-egcs/gcc/cc1plus natMath.ii -quiet -dumpbase
natMath.cc -m5200 -g -O2 -W -Wall -version -fno-rtti -fvtable-thunks -o
natMath.s
GNU C++ version gcc-2.95 19990525 (prerelease) (m68k-rtemself) compiled
by GNU C version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release).
/usr/local/m68k-rtemself/bin/as -m5200 -o java/lang/natMath.o natMath.s
natMath.s: Assembler messages:
natMath.s:1312: Error: operands mismatch -- statement `and.l
#1048575,-8(%a6)' ignored
natMath.s:1353: Error: operands mismatch -- statement `and.l
#1048575,-8(%a6)' ignored
natMath.s:1536: Error: operands mismatch -- statement `and.l
#1048575,-8(%a6)' ignored
natMath.s:1577: Error: operands mismatch -- statement `and.l
#1048575,-8(%a6)' ignored
This instruction is illegal in the ColdFire processors.
--
John Cotton
Software Engineering Group
Institute for Information Technology
National Research Council of Canada
Ottawa, ON, Canada
K1A 0R6
natMath.ii.gz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: natMath.ii.gz
Type: application/x-gzip
Size: 10622 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19990731/bf28d2e5/attachment.bin>
More information about the Gcc-bugs
mailing list