[PATCH/RFA] PR target/13250

Kaz Kojima kkojima@rr.iij4u.or.jp
Sat May 29 16:53:00 GMT 2004


Joern Rennecke <joern.rennecke@superh.com> wrote:
> It turns out that the loop optimizer has inserted a jump between
> the call and the instruction that copied the return value.
[snip]
> At any rate, this is how this can be fixed in sched-deps too:

All libraries are successfully built on mainline with your new
patch for sh4-unknown-linux-gnu!
I saw compiler segfaults in patch for some C tests because
BB_END returns a null for those cases.  Changing a line like

+ 	      if (! insn || GET_CODE (insn) != JUMP_INSN)
+ 		continue;

seems work for me and cross building and C regression test are
ok with it.  The result of C++ test is same as one without patch
but with libstdc++.so built with -fno-schedule-insns.
I've tested it with i686-pc-linux-gnu bootstrap and regtest.
Now full bootstrap on sh4-unknown-linux-gnu goes on.

Regards,
	kaz



More information about the Gcc-patches mailing list