failuer to build uberbaum --target=m68k-elf

Jim Wilson wilson@tuliptree.org
Wed Feb 26 09:39:00 GMT 2003


In
	http://gcc.gnu.org/ml/gcc/2003-01/msg01606.html
you mention that combine creates
(and:SF (mem/f:SF (plus:SI (reg/f:SI 14 %a6)
             (const_int 8 [0x8])) [2 x+0 S4 A16])
     (const_int 2147483647 [0x7fffffff]))

The bug here is that we never should have created this rtl because 
AND:SF is not meaningful.  This rtl is created in simplify_comparison 
where it tries to permute AND and SUBREG.  So I believe the correct fix 
is to add a check for an integral mode there, as otherwise this 
optimization is not correct.

I am able to build an uberbaum m68k-elf tree with the following patch, 
except for gdb's lib rda, but that isn't a compiler problem. I will do 
x86 bootstraps tomorrow to verify and then check it into the 3.3 branch 
and the trunk.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tmp.file
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20030226/e45f7f24/attachment.ksh>


More information about the Gcc mailing list