]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix pr115388.c: plain char could be unsigned by default [PR115415]
authorAndrew Pinski <quic_apinski@quicinc.com>
Mon, 10 Jun 2024 15:23:00 +0000 (08:23 -0700)
committerAndrew Pinski <quic_apinski@quicinc.com>
Mon, 10 Jun 2024 15:23:00 +0000 (08:23 -0700)
commitc3d1153bc0a2b820e3c373ecf19a5a127703f854
tree9604fe22b3a14634dce69bb5f3c27451a6e67f35
parent3472c1b500cf9184766237bfd3d102aa8451b99f
Fix pr115388.c: plain char could be unsigned by default [PR115415]

This is a simple fix to the testcase as plain `char` could be
unsigned by default on some targets (e.g. aarch64 and powerpc).

Committed as obvious after quick test of the testcase on both aarch64 and x86_64.

gcc/testsuite/ChangeLog:

PR testsuite/115415
PR tree-optimization/115388
* gcc.dg/torture/pr115388.c: Use `signed char` directly instead
of plain `char`.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
gcc/testsuite/gcc.dg/torture/pr115388.c