From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2152) id 265D93858C50; Fri, 10 Feb 2023 00:41:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 265D93858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675989714; bh=pDPt0VS4n4xTjjL27hqBdSJ5ec+8V9oWQgCMDY2xF7k=; h=From:To:Subject:Date:From; b=VhgzSgcs4ilM0HL2XS16FHIYnHxH+nce42ZJiSFxnZLv325imwSnIRGndlada9LyO onS+JnGVzovzz9kUm8rtIsQsxrTKu3YBZGDUDiLTDC3Q2/GafQyYpkdw1+fJDZvJr3 2fcDLferl0DA/G41tZh24cn5NuawJMnaUmz4GmKc= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Hans-Peter Nilsson To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-5765] testsuite: XFAIL bogus g++.dg/warn/Wstringop-overflow-4.C:144, PR106120 X-Act-Checkin: gcc X-Git-Author: Hans-Peter Nilsson X-Git-Refname: refs/heads/master X-Git-Oldrev: e92e2c9671e9c7c42594f8d970cd1e30024a12db X-Git-Newrev: c47f76c16bf7b3108e762d4b8b16fbb0c9c75187 Message-Id: <20230210004154.265D93858C50@sourceware.org> Date: Fri, 10 Feb 2023 00:41:54 +0000 (GMT) List-Id: https://gcc.gnu.org/g:c47f76c16bf7b3108e762d4b8b16fbb0c9c75187 commit r13-5765-gc47f76c16bf7b3108e762d4b8b16fbb0c9c75187 Author: Hans-Peter Nilsson Date: Tue Feb 7 17:28:50 2023 +0100 testsuite: XFAIL bogus g++.dg/warn/Wstringop-overflow-4.C:144, PR106120 There was a commit r13-2082-gbf13a13c65bd06 "c++: remove some xfails" (not referencing the PR) that dealt with part of the PR, but didn't xfail the ilp32-specific (bogus) warning mentioned in the PR. PR testsuite/106120 * g++.dg/warn/Wstringop-overflow-4.C:144 XFAIL bogus warning for ilp32 targets with c++98. Diff: --- gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C b/gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C index 3716d2d13be..35fb59e0232 100644 --- a/gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C +++ b/gcc/testsuite/g++.dg/warn/Wstringop-overflow-4.C @@ -141,7 +141,7 @@ void test_strcpy_new_int16_t (size_t n, const size_t vals[]) int r_imin_imax = SR (INT_MIN, INT_MAX); T (S (1), new int16_t[r_imin_imax]); - T (S (2), new int16_t[r_imin_imax + 1]); + T (S (2), new int16_t[r_imin_imax + 1]); // { dg-bogus "into a region of size" "pr106120" { xfail { ilp32 && c++98_only } } } T (S (9), new int16_t[r_imin_imax * 2 + 1]); int r_0_imax = SR (0, INT_MAX);