From patchwork Wed Oct 20 04:28:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 1543712 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=w8rjgKns; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HYyLm4cGgz9sPf for ; Wed, 20 Oct 2021 15:29:35 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 599EA3858038 for ; Wed, 20 Oct 2021 04:29:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 599EA3858038 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1634704170; bh=Q5WBMZIjihcc1kQtFXt8JyZV9sEdtnnaPORLiT/wz6M=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=w8rjgKnsrmsIs5+im6FSrZ3XyDk0igbWfHtZny0Bao9pLmZQdWF0jpjeEAn+JpDow muUPJLjiB6vjRhZtC7blfZM+JNBaeNwnN+rvJDkOv2JCdQrAceuB8CKSk8w7CJsfQ5 hkyweQ/az4rD2YB3ZWiRU7aweptqIVTJwLG6rI+o= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by sourceware.org (Postfix) with ESMTPS id CD5D13858025 for ; Wed, 20 Oct 2021 04:28:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CD5D13858025 Received: by mail-pl1-x62c.google.com with SMTP id t21so7186516plr.6 for ; Tue, 19 Oct 2021 21:28:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=Q5WBMZIjihcc1kQtFXt8JyZV9sEdtnnaPORLiT/wz6M=; b=ZhfpF8352ztPw897HFckydzcU9RBaGxAHc3KFlYQKYeac+andkMX3M2rpxn0E5x1pK K0yRCYaogWQ8tzT/8zb00LzlHG87udaH6rdUUp5EwmYaIw3m9WWjrIZFXlPO1a0lZnNG DigGDc/rEusnikCSfiAYA2443CMDXEjlzR5Qb8J5By0nLK2u46UBz7HQOsjLvUifUNFi SYvV4B7CSzQ4nN3kmlg1NOY6Yud77uhb60sWgNL5oJcQgVo7HE9ATjABvGqQAeavXOP8 0yc9HGoLQ4oZB8JDW5ltTP6GdPBJ4k2eYfYLZy+WYh4uOT3+cVVyxS0ix3p41VkY2qEP aqRQ== X-Gm-Message-State: AOAM533uBbCXSNkEtIeBJe2eiLUCJyN3emCZtNL/HKYE5atb0r1YusXO aKvjphHfjl462OcgnnoejtmL0NcGS0s= X-Google-Smtp-Source: ABdhPJxeu2eId4xfUrAae5+xC6xlcaJwtfjrWO1UM2x4arvqQYFXc40phWmPue+XgPbjTfqfL3zDig== X-Received: by 2002:a17:902:e282:b0:13f:62b1:9a06 with SMTP id o2-20020a170902e28200b0013f62b19a06mr37195275plc.1.1634704127234; Tue, 19 Oct 2021 21:28:47 -0700 (PDT) Received: from [172.31.0.175] (c-98-202-48-222.hsd1.ut.comcast.net. [98.202.48.222]) by smtp.gmail.com with ESMTPSA id bt5sm681486pjb.9.2021.10.19.21.28.46 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Oct 2021 21:28:46 -0700 (PDT) To: GCC Patches Subject: [committed] Trivial fix to gil-1.c when analyzer is not enabled Message-ID: Date: Tue, 19 Oct 2021 22:28:45 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 Content-Language: en-US X-Spam-Status: No, score=-8.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: Jeff Law via Gcc-patches From: Jeff Law Reply-To: Jeff Law Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" The test gcc.dg/plugin/gil-1.c should be reporting UNSUPPORTED when the analyzer is not enabled, but instead it's showing up as a FAIL.  This is because it's missing an appropriate dg-require-effective-target marker. Committed to the trunk, Jeff commit f36240f8c835d792f788b6724e272fc0a4a4f26f Author: Jeff Law Date: Wed Oct 20 00:26:59 2021 -0400 Trivial fix to gil-1.c when analyzer is not enabled gcc/testsuite * gcc.dg/plugin/gil-1.c: Add dg-require-effective-target marker. diff --git a/gcc/testsuite/gcc.dg/plugin/gil-1.c b/gcc/testsuite/gcc.dg/plugin/gil-1.c index 66872f07466..6cbc1971b52 100644 --- a/gcc/testsuite/gcc.dg/plugin/gil-1.c +++ b/gcc/testsuite/gcc.dg/plugin/gil-1.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-fanalyzer" } */ +/* { dg-require-effective-target analyzer } */ #include "gil.h"