https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50751
Oleg Endo <olegendo at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |55212
--- Comment #36 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to Oleg Endo from comment #35)
> (In reply to Oleg Endo from comment #34)
> >
> Compiling with -Os -m4 -ml -matomic-model=soft-gusa, I get:
>
>
> Probably we really should try switching to LRA (PR 55212).
I've tried compiling the problematic test case with the sh-lra branch (LRA
enabled) and '-Os -m4 -ml -matomic-model=soft-gusa' and '-Os -m4 -mb
-matomic-model=soft-gusa'. The problem seems to be gone for those parameters,
but when compiling for '-O2 -m4 -ml -matomic-model=soft-gusa' it crashes:
internal compiler error: in check_rtl, at lra.c:1928
TEST_FUNCS (complex_float_add, _Complex float, , += 1, 0, 20000)
^
0x8523d00 check_rtl
../../gcc-sh-lra/gcc/lra.c:1928
0x85273f7 lra(_IO_FILE*)
../../gcc-sh-lra/gcc/lra.c:2318
0x84e6823 do_reload
../../gcc-sh-lra/gcc/ira.c:5306
0x84e6823 execute
../../gcc-sh-lra/gcc/ira.c:5465