[Bug target/55212] [SH] Switch to LRA
olegendo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Sep 13 09:28:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #107 from Oleg Endo <olegendo at gcc dot gnu.org> ---
> > The serious one would be
> >
> > Running target sh-sim/-m2/-mb
> > FAIL: gcc.c-torture/execute/20040709-2.c -Os execution test
>
I have tried compiling that test case outside of the testsuite with -m2 -mb -Os
with and without LRA. There are lots of differences in the asm output, but the
LRA version executable runs fine and doesn't abort.
Running the test inside the testsuite fails reliably. I could reduce it to the
testZ ();
subtest.
It passes with with
make -k check RUNTESTFLAGS="execute.exp=20040709-2.c
--target_board=sh-sim\{-m2/-mb/-save-temps/-mno-lra}"
It fails with (-mlra enabled by default)
make -k check RUNTESTFLAGS="execute.exp=20040709-2.c
--target_board=sh-sim\{-m2/-mb/-save-temps}"
More information about the Gcc-bugs
mailing list