Message ID | 20220926091531.273721-1-poulhies@adacore.com |
---|---|
State | New, archived |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5044:0:0:0:0:0 with SMTP id h4csp1392300wrt; Mon, 26 Sep 2022 02:21:58 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Q34I7NUWVADaawMExv/67AYYLZzG7Me2w3j4vTqfiDoe9npBYfwJIGKqKCZyc203vvui1 X-Received: by 2002:a17:907:7e88:b0:783:305:8cac with SMTP id qb8-20020a1709077e8800b0078303058cacmr8042188ejc.439.1664184118334; Mon, 26 Sep 2022 02:21:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664184118; cv=none; d=google.com; s=arc-20160816; b=JD5pjw8Anfsrho7ooIEZaxD8pktLw7iqEA3XtTM0X1c6rxhHyQJOp7KHmAdy2fxX8y dOUq5I0okWlhrCC9+Xu2ReWpRTKCNoH4sN9VBoKjDOEcNQdCY8YEfR353jWuJ5YN5JLb Pq8Zdc8aAmB1rhRauL+ID1kQsjX0a0qN+uWySRt5kynXW7vDxN0D3Bp9uxzuykgmEi7o /4KVYoGvaqD49plvL3ceDtqaDjxcFIOdgLOLH27enS3J+IpAPbn8ZeSG0yhhKh22G9ra Y3I8rAwP6bmKuce3hnmaE9jX0HlHXkxNzQUuZ1EVW5v62a5BrbRE0l9axDVTk2+TcSDF +RmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:reply-to:from:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:to :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=U8eyUQHRioV+ss6j2bkNS0Z/82x7IlbSSfIndBE6Zmc=; b=FzfsKBdBZohk8cMSnqT5GR+rqhFoDwa5FEBoYQk5sPY3EcUGKnXWFW5pQHFqbNa6mg R0O2uyYY8vA0gT/TlNwm6xHzdWf8vxbduAFwmGPi98SreZRfvNjQOE4GGv5mYNorzNuz D1a6kKS5mcON9Ou+9aSoND/w9M7Fo0+DU6UaD4JHcV8fut4nlgAifUJNXQQPmA5iE4e8 VO/u+EIKak4LtPfJgB6lp3BKI0Um+hpYBjU4uPBlQuBY9/U+75qYEl7kVoOSH/CBcfR5 e9Un9oJMrJ1E8CRHmkVrIrGnWNiWvlFfIfnXsjASKYlYz6Mqa/JUrRI5tOofMJH1ajLY 3zTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=OcUCku1n; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c 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. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id f12-20020a50d54c000000b00448ce616fe5si14441980edj.103.2022.09.26.02.21.58 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Sep 2022 02:21:58 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=OcUCku1n; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c 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 73F813857034 for <ouuuleilei@gmail.com>; Mon, 26 Sep 2022 09:19:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 73F813857034 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664183980; bh=U8eyUQHRioV+ss6j2bkNS0Z/82x7IlbSSfIndBE6Zmc=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=OcUCku1naRfYjpE+oSRgRrybU01W4bjlgV4qRX2GEEVPMJfpHVGl70xOEh7yDtf0e ahHdIucQua0Q1/LuiWuTfKaGOw3qANqRLcxzObIIuuoBDmCdeuVk7TOYeg//bnIaHZ JNl55Zg6WK1BbmiTstq1B1XA4RshVX3KJWNq5qec= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by sourceware.org (Postfix) with ESMTPS id 85D8438582B1 for <gcc-patches@gcc.gnu.org>; Mon, 26 Sep 2022 09:15:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 85D8438582B1 Received: by mail-wr1-x436.google.com with SMTP id z6so9216063wrq.1 for <gcc-patches@gcc.gnu.org>; Mon, 26 Sep 2022 02:15:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=U8eyUQHRioV+ss6j2bkNS0Z/82x7IlbSSfIndBE6Zmc=; b=mW+eFtdS7YMfQsJgvBUS/Wya9ja8YxrTivaajR6u2CVzATeQzB7ieVQpl4LT6t7TOT QPeFruLGpIlI+mLJnzU28D9nnBB+sMbtxbY06P2APQTPXYfILUWOQidIxQKVtIpcDwES BRGpkYQOusf7SL8qWn7YkGjP4h39UeEsPgC4cQkjQhhk/TVgRtslWzn9/ouTLg7Z+hPS ZQyI/Ipe4CeVQS/I9YkBj/OU7tpeaNvRckg8XXmmiWyV6A9M00iHAuQl8SYvJpal93+a jNeosz9Yge7gozv8dPyWQy/UCCinQpMgP0fqCfXADfZTOePPaqU0xQNj8TaW+GydGu/E 1lgA== X-Gm-Message-State: ACrzQf0bd0gZt+97LxE34IRUetakK1IOucPXIUHjZ/EC2Ua6D4Hr172N Fd9GFq+HOs5+vBJUIakgX5MF4S92JCc2zg== X-Received: by 2002:a05:6000:1acd:b0:22a:a047:2533 with SMTP id i13-20020a0560001acd00b0022aa0472533mr12637596wry.69.1664183735385; Mon, 26 Sep 2022 02:15:35 -0700 (PDT) Received: from localhost.localdomain (static-176-191-105-132.ftth.abo.bbox.fr. [176.191.105.132]) by smtp.gmail.com with ESMTPSA id m21-20020a05600c3b1500b003b3307fb98fsm10900645wms.24.2022.09.26.02.15.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Sep 2022 02:15:35 -0700 (PDT) To: gcc-patches@gcc.gnu.org Subject: [COMMITED] ada: Remove unreferenced C macro from OS constants template Date: Mon, 26 Sep 2022 11:15:31 +0200 Message-Id: <20220926091531.273721-1-poulhies@adacore.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: =?utf-8?q?Marc_Poulhi=C3=A8s_via_Gcc-patches?= <gcc-patches@gcc.gnu.org> Reply-To: =?utf-8?q?Marc_Poulhi=C3=A8s?= <poulhies@adacore.com> Cc: Piotr Trojanek <trojanek@adacore.com> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1745023526100137553?= X-GMAIL-MSGID: =?utf-8?q?1745023526100137553?= |
Series |
[COMMITED] ada: Remove unreferenced C macro from OS constants template
|
|
Commit Message
Marc Poulhiès
Sept. 26, 2022, 9:15 a.m. UTC
From: Piotr Trojanek <trojanek@adacore.com>
The STR/STR1 macros in OS constants template has been unreferenced since
2005, so we can safely remove them.
gcc/ada/
* s-oscons-tmplt.c (STR, STR1): Remove.
---
gcc/ada/s-oscons-tmplt.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gcc/ada/s-oscons-tmplt.c b/gcc/ada/s-oscons-tmplt.c index af6919092d5..53941226771 100644 --- a/gcc/ada/s-oscons-tmplt.c +++ b/gcc/ada/s-oscons-tmplt.c @@ -237,9 +237,6 @@ int counter = 0; #define CST(name,comment) C(#name,String,name,comment) /* String constant */ -#define STR(x) STR1(x) -#define STR1(x) #x - #ifdef __MINGW32__ unsigned int _CRT_fmode = _O_BINARY; #endif