[Bug target/122948] sh: comparison is miscompiled
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jul 5 03:52:28 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122948
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Oleg Endo <olegendo@gcc.gnu.org>:
https://gcc.gnu.org/g:1a59bc13e2ca584b16059306d780d6f95156be93
commit r17-2143-g1a59bc13e2ca584b16059306d780d6f95156be93
Author: Oleg Endo <olegendo@gcc.gnu.org>
Date: Sat Jul 4 01:22:41 2026 +0900
SH: Fix T bit set expressions of addc and subc insns.
gcc/ChangeLog:
PR target/67459
PR target/122948
* config/sh/sh.md (addc): Fix T bit set expression.
(subc): Likewise.
gcc/testsuite/ChangeLog:
PR target/67459
PR target/122948
* gcc.target/sh/pr122948.c: New test.
More information about the Gcc-bugs
mailing list