RX: 4.5 branch: Fix alignment and addressing issues.

Nick Clifton nickc@redhat.com
Fri Mar 18 08:22:00 GMT 2011


Hi Richard,

> What is length used for in the rx port?  I don't see any branch shortening
> going on here; out of range branches are completely handled by the assembler.
>
> You might be better off simply deleting the length attribute, so that the
> compiler skips the bulk of the shorten_branches pass.

Darn - I feel like a complete idiot!  You are right of course - the 
length attribute is not used at all.  Adding the attribute was just 
habitual, I never thought to check to see if it was really needed.

I'll make a patch to remove the lengths and check it in shortly.

Cheers
   Nick




More information about the Gcc-patches mailing list