This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH/RFA] PR target/18032: SH: wrong code for EH
- From: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: joern dot rennecke at st dot com
- Cc: gcc-patches at gcc dot gnu dot org, aoliva at redhat dot com
- Date: Fri, 22 Oct 2004 12:22:05 +0900 (JST)
- Subject: Re: [PATCH/RFA] PR target/18032: SH: wrong code for EH
- References: <20041020.212131.78174976.kkojima@rr.iij4u.or.jp><41765F2B.4090600@st.com>
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