From patchwork Thu Feb 2 21:01:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans-Peter Nilsson X-Patchwork-Id: 52168 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp471231wrn; Thu, 2 Feb 2023 13:02:25 -0800 (PST) X-Google-Smtp-Source: AK7set9IdMFgziN+5S5iMJbEUqunKURKhwFA9kQ/zrC+nUWQisTjFyVcKEsNJ+U8F/kI7C2qJeMF X-Received: by 2002:a05:6402:1a25:b0:4a2:6a69:94c4 with SMTP id be5-20020a0564021a2500b004a26a6994c4mr8072150edb.23.1675371744922; Thu, 02 Feb 2023 13:02:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675371744; cv=none; d=google.com; s=arc-20160816; b=Z30B/cQdwNW1rwSe/dH/uEG8fC5Nke91CmPltoiUiEcBEQQ39TyRm15HpJ7Ylq+IAi 8/z8a1/30pZEqVCYkzoIFzhdyPOyPcIX00v0Po/znW+nO4h3ZGmr+wKs3t8rYOLzeVt2 opFtSaYTiI27Me+wHq5hCb/6C/HcNX0rF7AHpVagiM4cjFzFBPr1zmqm0QDGwmxgrnzL AymQZ8dqpraHN+X/qguO9VTQH7J02nTItANEgcrvWEnQ9kOX4m23RPg60krq6M+80PB9 iXAIN+jxCyGqUNi+rXJ9Od5X89qJ4tkgOgVupl1up7hkvP6z/n9Ps49WXYl6X18ngl9c qcgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:date:message-id :content-transfer-encoding:mime-version:subject:to:dmarc-filter :delivered-to:dkim-signature:dkim-filter; bh=/qSi37hhYVxT/bPbwTd+pQG/t5WOveUEyrNtkDieDZQ=; b=lOkxnfbpHp5fq1OP9eBK8bMjxZaW6aQy79YsqpoeDOoE6c5t80J1E58Cyawwbfs6zW pzBH2vsG0sFHlKv6NkY8HcEAxelUZVGsEYaY6eWh9QzsfRF+s/Cl+TCrZbRbf76EoBk0 ah6flJ+7+GbzNOrLo6i1g7VHWWoCy+l8zeKUQflkxul7qppuphX6EJ23m4TYZKLo8fbl IYYT6msO+D00ywFKSQz85w+9738PmlQLeB+e5kqc7F37+h8YFh6RmsX4+uKHYyhjAYmS N2ATYNuFHVhjTz02lJY95eqmO+XoIXZt49QZ+gHLxov57ZwNnQ1uIfwNNHxfnCVIf/ul p7nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=P9GbP0f1; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id n17-20020a05640205d100b004862741e037si478163edx.96.2023.02.02.13.02.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Feb 2023 13:02:24 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=P9GbP0f1; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id F3D7B3858C5F for ; Thu, 2 Feb 2023 21:02:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F3D7B3858C5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675371744; bh=/qSi37hhYVxT/bPbwTd+pQG/t5WOveUEyrNtkDieDZQ=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=P9GbP0f1q+mUU9j56NPjpaKccA+x5023Qnb5Jghh88Hes0RPjeU1MxSSGE7+Y/0qH 9xSfuS8tCnvTqF3N4tSh80IhXebSuH7+BiT5mFmzsqtqOz7yfamNtQwvjEnT1bUt6+ f6tUdlGhWpl7rNUCL49/3f+OSog4w8Qhc68ybANg= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org 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 To: Subject: [PATCH] testsuite: XFAIL g++.dg/pr71488.C and warn/Warray-bounds-16.C, PR107561 MIME-Version: 1.0 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 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Hans-Peter Nilsson via Gcc-patches From: Hans-Peter Nilsson Reply-To: Hans-Peter Nilsson Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756754602958882173?= X-GMAIL-MSGID: =?utf-8?q?1756754602958882173?= 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 } } };