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: [PATCH/RFA] PR target/13250


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


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