This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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: [tree-ssa] S/390: Fix loops emitted by backend


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

Attachment: pgp00000.pgp
Description: PGP signature


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