This is an obvious fix to the gcc.dg/torture/pr116420.c testcase which simplier
changes from plain `char` to `signed char` so it works on targets where plain 
char defaults
to unsigned.

Pushed as obvious after a quick test for aarch64-linux-gnu to make sure the 
testcase
passes now.

        PR testsuite/116464

gcc/testsuite/ChangeLog:

        * gcc.dg/torture/pr116420.c:

Signed-off-by: Andrew Pinski <quic_apin...@quicinc.com>
---
 gcc/testsuite/gcc.dg/torture/pr116420.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/torture/pr116420.c 
b/gcc/testsuite/gcc.dg/torture/pr116420.c
index 9a784f59429..81a6e133647 100644
--- a/gcc/testsuite/gcc.dg/torture/pr116420.c
+++ b/gcc/testsuite/gcc.dg/torture/pr116420.c
@@ -1,7 +1,7 @@
 /* { dg-do run } */
 /* { dg-additional-options "-fno-forward-propagate -fno-tree-ch" } */
 int a, d, e;
-char b = -1, c, f;
+signed char b = -1, c, f;
 int main() {
   int g;
   for (; d < 1; d++) {
-- 
2.43.0

Reply via email to