From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1251) id 33BBF38485AA; Thu, 5 May 2022 12:31:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 33BBF38485AA MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Roger Sayle To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-136] [Committed] PR testsuite/105486: Use "signed char" in gcc.dg/pr102950.c X-Act-Checkin: gcc X-Git-Author: Roger Sayle X-Git-Refname: refs/heads/master X-Git-Oldrev: 7ec6fed1e816d0671a076c59ea0ff88f736beaab X-Git-Newrev: 92fff39f06449f907d8781a5dcaad0e8b9743480 Message-Id: <20220505123122.33BBF38485AA@sourceware.org> Date: Thu, 5 May 2022 12:31:22 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2022 12:31:22 -0000 https://gcc.gnu.org/g:92fff39f06449f907d8781a5dcaad0e8b9743480 commit r13-136-g92fff39f06449f907d8781a5dcaad0e8b9743480 Author: Roger Sayle Date: Thu May 5 08:30:27 2022 -0400 [Committed] PR testsuite/105486: Use "signed char" in gcc.dg/pr102950.c Although the automated regression testing scripts for powerpc64 appear to be somewhat garbled at the moment, they've correctly identified that my new test case for pr102950.c is failing on powerpc64, as char by default is unsigned on this target. This patch tweaks the new testcase by explicitly using "signed char" so that it's testing the intended EVRP behaviour portably. Committed as obvious. 2022-05-05 Roger Sayle gcc/testsuite/ChangeLog PR testsuite/105486 * gcc.dg/pr102950.c: Use explicit "signed char" in test case. Diff: --- gcc/testsuite/gcc.dg/pr102950.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.dg/pr102950.c b/gcc/testsuite/gcc.dg/pr102950.c index 0ab23bd4dbc..317568370d4 100644 --- a/gcc/testsuite/gcc.dg/pr102950.c +++ b/gcc/testsuite/gcc.dg/pr102950.c @@ -3,9 +3,9 @@ extern void link_error(void); -static char a; +static signed char a; static short d(unsigned e) { - char b; + signed char b; short c; a = b = e; if (b)