From patchwork Fri Oct 4 03:36:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam James X-Patchwork-Id: 1992582 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XKZ3V17BYz1xsn for ; Fri, 4 Oct 2024 13:36:54 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 053FE3846060 for ; Fri, 4 Oct 2024 03:36:52 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id C5992385DDFB for ; Fri, 4 Oct 2024 03:36:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C5992385DDFB Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C5992385DDFB Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=140.211.166.183 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728012992; cv=none; b=gBeSFVjSJzvrynKkkLR1drCqtvPqWMBDs/Ozevod08QoGpN5NJj86z3CoBLm6BFnQP2yNCMuXtls34MpOgzqB7Lo/3qHikmcJNvdEraZl5D8xtJXtUDEXk3K90vcegeo10JNLdzmukUTKc7BykvH9dPd4+NDuksex3aF+o4bPP8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1728012992; c=relaxed/simple; bh=qiiGCsrAUvHKZURH5UYBbkmzHwTzf0akHquHACise78=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=SeuVx9H3fn2k8RKrfKo0vwLkMX4EShr5jOwnZHK2BS58qHhRDMAFEv38BQDUc2XrQsAsYbBw7Ydu3Ii7TrwfaMt74gUxlOfYWOro5nm8G55QiBoNqAelAK8ss6tfp4L5I0oQa02ZJKqgiu8/e8nog5ebi4HWsV4+P/BGoqfrfAk= ARC-Authentication-Results: i=1; server2.sourceware.org From: Sam James To: gcc-patches@gcc.gnu.org Cc: Sam James Subject: [COMMITTED] testsuite: gnat.dg: fix dg-do directive syntax Date: Fri, 4 Oct 2024 04:36:18 +0100 Message-ID: <68d88d9b68f5b8a952ded65607af32f9244c8d87.1728012977.git.sam@gentoo.org> X-Mailer: git-send-email 2.46.2 MIME-Version: 1.0 X-Spam-Status: No, score=-10.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org Fix incorrect use of '[' rather than '{' in 'dg-...' directives. gcc/testsuite/ChangeLog: * gnat.dg/pack13.adb: Fix 'dg-...' directive syntax. * gnat.dg/size_attribute.adb: Ditto. * gnat.dg/subp_elim_errors.adb: Ditto. --- Committed as obvious. gcc/testsuite/gnat.dg/pack13.adb | 2 +- gcc/testsuite/gnat.dg/size_attribute.adb | 2 +- gcc/testsuite/gnat.dg/subp_elim_errors.adb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/gnat.dg/pack13.adb b/gcc/testsuite/gnat.dg/pack13.adb index dd9cb09cf7b6..6581a53f9987 100644 --- a/gcc/testsuite/gnat.dg/pack13.adb +++ b/gcc/testsuite/gnat.dg/pack13.adb @@ -1,4 +1,4 @@ --- [ dg-do compile } +-- { dg-do compile } package body Pack13 is diff --git a/gcc/testsuite/gnat.dg/size_attribute.adb b/gcc/testsuite/gnat.dg/size_attribute.adb index 25642e0b0aad..ec655f67a868 100644 --- a/gcc/testsuite/gnat.dg/size_attribute.adb +++ b/gcc/testsuite/gnat.dg/size_attribute.adb @@ -1,5 +1,5 @@ -- PR middle-end/35823 --- { dg-do compile ] +-- { dg-do compile } procedure Size_Attribute (Arg : in String) is Size : constant Natural := Arg'Size; diff --git a/gcc/testsuite/gnat.dg/subp_elim_errors.adb b/gcc/testsuite/gnat.dg/subp_elim_errors.adb index 669e8772117e..1b8c3f23054d 100644 --- a/gcc/testsuite/gnat.dg/subp_elim_errors.adb +++ b/gcc/testsuite/gnat.dg/subp_elim_errors.adb @@ -1,4 +1,4 @@ --- [ dg-do compile } +-- { dg-do compile } with System;