https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120168
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Andrew Pinski <pins...@gcc.gnu.org>: https://gcc.gnu.org/g:d8dac49707e71844b4d1c21348d92addb19a0969 commit r16-477-gd8dac49707e71844b4d1c21348d92addb19a0969 Author: Andrew Pinski <quic_apin...@quicinc.com> Date: Thu May 8 09:12:07 2025 -0700 Fix tree-ssa/pr31261.c testcase after r16-400 [PR120168] AFter r16-400-g5e363ffefaceb9, on targets where char is unsigned by default, tree-ssa/pr31261.c testcase started to fail: FAIL: gcc.dg/tree-ssa/pr31261.c scan-tree-dump-times original "return \\\\(char\\\\) -\\\\(unsigned char\\\\) c & 31;" 1 This is because the casts are no longer needed as both char and unsigned char are the same signedness. I was deciding between add -fsigned-char or changing the testcase to use explicitly `signed char`. I went with using an explicit `signed char` as that would be case normally. PR testsuite/120168 gcc/testsuite/ChangeLog: * gcc.dg/tree-ssa/pr31261.c: Use `signed char` instead of plain char. Signed-off-by: Andrew Pinski <quic_apin...@quicinc.com>