[tree-ssa] S/390: Fix loops emitted by backend

Andreas Jaeger aj@suse.de
Fri Mar 19 08:14:00 GMT 2004


Ulrich Weigand <weigand@i1.informatik.uni-erlangen.de> writes:

> Hello,
>
> this patch makes gcc bootstrap on the tree-ssa branch for 
> s390-ibm-linux and s390x-ibm-linux targets.  The problem was
> that we were manually constructing a loop in the string
> expanders, using the expand_exit_loop_top_cond routine.
>
> This doesn't work any longer as expected, since loop header
> copying isn't done on RTL any more; also, for some reason
> doloop now got confused into computing incorrect loop 
> iteration counts.
>
> Fixed by performing loop header copying manually.
>
> Bootstrapped/regtested on s390-ibm-linux and s390x-ibm-linux,
> applied to the tree-ssa branch.

Shouldn't this go also into mainline to make merging easier?

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040319/0f96c69c/attachment.sig>


More information about the Gcc-patches mailing list