From patchwork Sat Jan 22 15:32:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Malcolm X-Patchwork-Id: 50363 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 173133858419 for ; Sat, 22 Jan 2022 15:32:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 173133858419 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1642865563; bh=+AwZJeVfw740juwsADTE87kbvd+1lo++1BYaYbgU+AY=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=nU217Xhm2IUZ7wyw1Tqh9szEITA3hrHVsT5MSuvAQ5ObUpD6exVlh9rOJhJ1k90DQ x1Q4myGrQQm/RuVvbKE+6/uOfY/AUkfsJxjhbnZRGCa2rLxaWnH9TuL3UpXv7XKjEJ ha4eG2bXQao5OQZUkuoxxJpHc5sQmxfESuRl9AwQ= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 8A0C03858D37 for ; Sat, 22 Jan 2022 15:32:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8A0C03858D37 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-353-VQHuxda8PYqD_K91QNFqkw-1; Sat, 22 Jan 2022 10:32:12 -0500 X-MC-Unique: VQHuxda8PYqD_K91QNFqkw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D028518397B3 for ; Sat, 22 Jan 2022 15:32:11 +0000 (UTC) Received: from t14s.localdomain.com (unknown [10.2.16.154]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8684B2BE7A; Sat, 22 Jan 2022 15:32:11 +0000 (UTC) To: gcc-patches@gcc.gnu.org Subject: [committed] testsuite: guard usage of _Float16 in analyzer test [PR104150] Date: Sat, 22 Jan 2022 10:32:09 -0500 Message-Id: <20220122153209.2510595-1-dmalcolm@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-13.3 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, 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: David Malcolm via Gcc-patches From: David Malcolm Reply-To: David Malcolm Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" Committed to trunk as r12-6818-ga1fb81bda97014ba14d55c4c2e143d31ffe2e264. gcc/testsuite/ChangeLog: PR analyzer/104150 * gcc.dg/analyzer/pr104089.c: Add "dg-add-options float16" and "dg-require-effective-target float16" directives. Signed-off-by: David Malcolm --- gcc/testsuite/gcc.dg/analyzer/pr104089.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/testsuite/gcc.dg/analyzer/pr104089.c b/gcc/testsuite/gcc.dg/analyzer/pr104089.c index c51770411f1..3bf637ec5f6 100644 --- a/gcc/testsuite/gcc.dg/analyzer/pr104089.c +++ b/gcc/testsuite/gcc.dg/analyzer/pr104089.c @@ -1,3 +1,5 @@ +/* { dg-add-options float16 } */ +/* { dg-require-effective-target float16 } */ /* { dg-additional-options "-frounding-math" } */ volatile _Float16 true_min = 5.96046447753906250000000000000000000e-8F16;