From: Richard Biener Date: Thu, 10 Jul 2014 12:20:32 +0000 (+0000) Subject: re PR c/61741 (wrong code with -fno-strict-overflow) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bed191cdd10964a1a0ceda39d0e48916a03deedf;p=gcc.git re PR c/61741 (wrong code with -fno-strict-overflow) 2014-07-10 Richard Biener PR c-family/61741 * c-c++-common/torture/pr61741.c: Use signed char. From-SVN: r212430 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 054497b27a9..fd2ae876932 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-07-10 Richard Biener + + PR c-family/61741 + * c-c++-common/torture/pr61741.c: Use signed char. + 2014-07-10 Eric Botcazou * gnat.dg/opt39.adb: New test. diff --git a/gcc/testsuite/c-c++-common/torture/pr61741.c b/gcc/testsuite/c-c++-common/torture/pr61741.c index b5f9b9322dd..a2bc4bda38f 100644 --- a/gcc/testsuite/c-c++-common/torture/pr61741.c +++ b/gcc/testsuite/c-c++-common/torture/pr61741.c @@ -5,7 +5,7 @@ int a = 1, b; void foo (void) { - char c = 0; + signed char c = 0; for (; a; a--) for (; c >= 0; c++); if (!c)