This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Updated ColdFire toolchain sources available on my CVS server


>> WHich compiler generates the sub.l #imm,d(Ax) instruction?  Could you
>> send me a small testcase witht eh commandline used to generate the
>> problem?
>> 
>> Thanks!
>> 
>I used ColdFire GCC compiler from your CVS tree, version 3.4.0.
>Attached C source generated error. Sorry for length of attached
>code, but I failed when trying to generate code snippet manifesting
>the bug (one disappeared when shortening the file).
>
>Note: Sorry for misleading info, but 3.3.3 works well, only
>3.4.0 and 3.4.1 generate the bug.

I've patched my gcc-3.4.0 and gcc-3.4.1 trees to fix this.  The
problem was that the subsi3 pattern allows a label-ref to be
subtracced from a general memory operand, something that is illegal
for ColdFire, but legal for 68k.

Could you try building gcc-3.4.0/gcc-3.4.1 from my CVS server and
testing them again?  If that passes, then I'll submit a patch to mainline.

Thanks!

-- 
Peter Barada
peter@the-baradas.com

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]