https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117182
Bug ID: 117182 Summary: [SH] fldi0/1 generated in the wrong fp mode Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ra, wrong-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: kkojima at gcc dot gnu.org CC: olegendo at gcc dot gnu.org Blocks: 55212 Target Milestone: --- Target: sh*-*-* I looked into regressions on devel/sh-lra for my c/c++ testsuite results for sh4-linux compiler on qemu-user. FAIL: c-c++-common/torture/complex-sign-mul-minus-one.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects execution test FAIL: c-c++-common/torture/complex-sign-mul-one.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects execution test FAIL: c-c++-common/torture/complex-sign-mul-one.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test This test failed with -O2 -ftrace too. I'm not sure why these are caught with -flto or -ftrace. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 [Bug 55212] [SH] Switch to LRA