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/18032: SH: wrong code for EH


Joern RENNECKE <joern.rennecke@st.com> wrote:
>>     PR target/18032
>>     * config/sh/sh.c (sh_expand_epilogue): Emit a blockage insn before
>>     the frame pointer adjustment when exception handling is enabled.
> 
> OK for mainline.
> It also seems safe enough for 3.4, but you'd have to show that it is 
> actually a
> regression, i.e. either find a previous gcc version for which the 
> testcase passes,
> or find another testcase that is fixed by the patch that passed with a 
> previous
> version of gcc.

I've comfirmed that the testcase in PR passes for 3.3.5 with
-O2, though 3.3.5 compiler generates a code similar with mainline
for sh4.  Maybe because 3.3.x sh-linux compiler uses the sjlj
execptions.  Anyway, it looks a kind of regression from 3.3.5.

Regards,
	kaz


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