From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp2.axis.com (smtp2.axis.com [195.60.68.18]) by sourceware.org (Postfix) with ESMTPS id 7BABC3858C52 for ; Thu, 2 Feb 2023 21:01:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7BABC3858C52 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=axis.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=axis.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1675371702; x=1706907702; h=from:to:subject:mime-version:content-transfer-encoding: message-id:date; bh=/qSi37hhYVxT/bPbwTd+pQG/t5WOveUEyrNtkDieDZQ=; b=Xu60ExxhPYNUrhgqiFeWufW49vojIdioklh/i1Zdg0oBDFkh7ilW7Qhf reOGi/5tra9w4KszqacEeZ411H0f+EtYTWPUNX1iCsDkvbqilmbaw0x72 iazTNaT9OVaFA4owf3PROeo1hBvyiKegPNCm0P7cH7Fmzp4A7XN8DsLjT iLbIRTNb5Wpy39lstGsI4IlIY7iXQYdKdeHMXvdfnnlW7irVmih1WUsI+ Smr40YO8Kxf4wROq6AefMAgwn7Eh1NfzzGn2MVRukYRkIT8IZnLYkX8kz jfG+3Z9Z1qVYE626vpzjEBxuOVy21BEw1YrUUCZ+xhpxEM0gF9Zww8hdL A==; From: Hans-Peter Nilsson To: Subject: [PATCH] testsuite: XFAIL g++.dg/pr71488.C and warn/Warray-bounds-16.C, PR107561 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Message-ID: <20230202210139.E1AF420426@pchp3.se.axis.com> Date: Thu, 2 Feb 2023 22:01:39 +0100 X-Spam-Status: No, score=-10.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,KAM_NUMSUBJECT,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Tested cris-elf, native x86_64-pc-linux-gnu. Ok to commit? --- 8< --- These appear as regressions from a baseline before r13-3761-ga239a63f868e29. See the PR trail. Note that the warning for g++.dg/pr71488.C is for a *header* file, thus we can't match the line number (sanely). gcc/testsuite: PR tree-optimization/107561 * g++.dg/warn/Warray-bounds-16.C: XFAIL bogus "overflows destination" warning. * g++.dg/pr71488.C: Ditto, but just for ilp32 targets. --- gcc/testsuite/g++.dg/pr71488.C | 1 + gcc/testsuite/g++.dg/warn/Warray-bounds-16.C | 1 + 2 files changed, 2 insertions(+) diff --git a/gcc/testsuite/g++.dg/pr71488.C b/gcc/testsuite/g++.dg/pr71488.C index ffe30f1afeb1..a89e6465a945 100644 --- a/gcc/testsuite/g++.dg/pr71488.C +++ b/gcc/testsuite/g++.dg/pr71488.C @@ -3,6 +3,7 @@ // { dg-options "-O3 -std=c++11" } // { dg-additional-options "-msse4" { target sse4_runtime } } // { dg-require-effective-target c++11 } +// { dg-bogus "size 0 overflows" "pr107561" { xfail *-*-* } 0 } #include diff --git a/gcc/testsuite/g++.dg/warn/Warray-bounds-16.C b/gcc/testsuite/g++.dg/warn/Warray-bounds-16.C index 89cbadb91c7b..49d3437fa1b7 100644 --- a/gcc/testsuite/g++.dg/warn/Warray-bounds-16.C +++ b/gcc/testsuite/g++.dg/warn/Warray-bounds-16.C @@ -20,6 +20,7 @@ struct S for (int i = 0; i < m; i++) new (p + i) int (); /* { dg-bogus "bounds" "pr102690" { xfail *-*-* } } */ + // { dg-bogus "size 0 overflows" "pr107561" { xfail ilp32 } .-1 } } }; -- 2.30.2