[Bug target/55212] [SH] Switch to LRA
olegendo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Sep 12 01:18:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #99 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to Kazumoto Kojima from comment #98)
> I guess that these pr64661-x.c regressions are not so problem, though.
I agree.
> I'm not sure whether hiconst.c regression is serious or not.
I think we can ignore this for now. It's about loading/sharing constants.
There are more constant related inefficiencies which can be addressed later.
> The serious one would be
>
> Running target sh-sim/-m2/-mb
> FAIL: gcc.c-torture/execute/20040709-2.c -Os execution test
I will have a look at it.
> My sh4-unknown-linux-gnu test also shows another execution
> errors for libstdc++-v3.
>
> New tests that FAIL:
>
> 22_locale/money_get/get/wchar_t/14.cc execution test
> 22_locale/money_get/get/wchar_t/19.cc execution test
> 22_locale/money_get/get/wchar_t/22131.cc execution test
> 22_locale/money_get/get/wchar_t/38399.cc execution test
> 22_locale/money_get/get/wchar_t/39168.cc execution test
> 22_locale/money_get/get/wchar_t/6.cc execution test
> 22_locale/money_get/get/wchar_t/8.cc execution test
> 22_locale/money_get/get/wchar_t/9.cc execution test
> 22_locale/money_put/put/wchar_t/39168.cc execution test
> 22_locale/money_put/put/wchar_t/5.cc execution test
> 22_locale/money_put/put/wchar_t/6.cc execution test
>
> These tests compiled with -mlra don't fail with libstdc++-v3
> library compiled with -mno-lra, i.e. libstdc++-v3 is miscompiled
> with -mlra. These wrong code problems should be resolved before
> witch to LRA.
Hm .. those don't fail on sh-elf ... maybe something related to the atomics?
Atomics are off by default for sh-elf, but on for sh-linux.
More information about the Gcc-bugs
mailing list