egcs HEAD build fails on _divdi3
Jeff Garzik
jgarzik@mandrakesoft.com
Fri Nov 12 01:15:00 GMT 1999
Native compiler is gcc 2.95.2, also fails with native compiler == pgcc
(egcs 1.1.2-derived).
'make bootstrap' fails with this:
-g -W -Wall -I./include -fPIC -g1 -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -I. -I. -I./config -I./../include -c
-DL${name} \
./libgcc2.c -o ${name}.o; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
` if [ -f /g/cvs/egcs/gcc/../binutils/ar ] ; then echo
/g/cvs/egcs/gcc/../binutils/ar ; else if [ "i686-pc-linux-gnu" =
"i686-pc-linux-gnu" ] ; then echo ar; else t='s,^,i686-pc-linux-gnu-,';
echo ar | sed -e $t ; fi; fi` rc tmplibgcc2.a ${name}.o; \
rm -f ${name}.o; \
done
_muldi3
_divdi3
./libgcc2.c: In function `__divdi3':
./libgcc2.c:476: Invalid `asm' statement:
./libgcc2.c:476: fixed or forbidden register 0 (ax) was spilled for
class AREG.
./libgcc2.c:694: fixed or forbidden register 0 (ax) was spilled for
class AREG.
./libgcc2.c:694: This may be due to a compiler bug or to impossible asm
./libgcc2.c:694: statements or clauses.
./libgcc2.c:694: This is the instruction:
(insn/i 105 104 106 (parallel[
(set (reg/v:SI 49)
(udiv:SI (reg:SI 5 edi)
(reg/v:SI 46)))
(set (reg:SI 5 edi)
(umod:SI (reg:SI 5 edi)
(reg/v:SI 46)))
(clobber (reg:CC 17 flags))
] ) 216 {udivmodsi4} (insn_list 103 (nil))
(expr_list:REG_UNUSED (reg:CC 17 flags)
(expr_list:REG_UNUSED (reg:SI 5 edi)
(expr_list:REG_DEAD (reg:SI 5 edi)
(nil)))))
./libgcc2.c:694: Internal compiler error in `new_spill_reg', at
reload1.c:2275
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for
instructions.
--
Jeff Garzik | Just once, I wish we would encounter
Building 1024 | an alien menace that wasn't immune to
MandrakeSoft, Inc. | bullets. -- The Brigadier, "Dr. Who"
More information about the Gcc-bugs
mailing list