Could not build libstdc++-v3 with --target=sh-elf

Joern Rennecke amylaar@cambridge.redhat.com
Mon Jan 8 07:12:00 GMT 2001


> Fortunately, I couldn't check the patch in at that time.  Further
> investigation revealed that the patch was not enough for SH4.  The
> problem was that we were not taking the additional alignment inserted
> after the unconditional branch resulting from the cbranch split.
> Here's a patch that actually fixes the problem.  I'll try to check
> this in now.
> 
> 
> --=-=-=
> Content-Type: text/x-patch
> Content-Disposition: inline; filename=sh-split-cbranch-align.patch
> 
> Index: gcc/ChangeLog
> from  Alexandre Oliva  <aoliva@redhat.com>
> 
> 	* config/sh/sh.c (sh_insn_length_adjustment): Take alignment of
> 	barrier after to-be-split conditional branch into account.

This is wrong as well.  As I said, the alignment shouldn't be there in
the first place.


More information about the Gcc-patches mailing list