From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 ; Mon, 26 Sep 2022 09:15:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 85D8438582B1 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-wr1-x436.google.com with SMTP id z6so9216063wrq.1 for ; Mon, 26 Sep 2022 02:15:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=U8eyUQHRioV+ss6j2bkNS0Z/82x7IlbSSfIndBE6Zmc=; b=bPncWXBkDHX/xgk988jaUQGv4khWieOG1+mh6VRQuH9yM97h4BuFRoG91hIljuI+tn n+2q/Pap5vYrWCI/57f7edjkZeFgOD9gZOzVxUHGw9PiZuyIKNqkju3cbj8S57wOSyrM WOADbQ+L+fNOmuQ89Xx51K3s0PlH1o+hHedORMW4sqZgPcGveAJl7XE7TnsVwapjzEbB MkUJyfCsgenAfBZ9OUuBsrZrmLyhTmVjcsHRj2bSGslv2IWBG1LyxKV6RaCuyQN6r7oP Rg4UBL7hhPPVtRXuMxNjpObaz5n1yMrKcTuYB3pzdSDjv4TDVQvf+FSqRfAXAWvXcHRZ kGLg== 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-Google-Smtp-Source: AMsMyM4dxK4p+7JuLHkuqIULcZKoNAk51ui2qjCVjP4e4Oc74eMIKLUi4cQIi3FoB2+3WSeMY51AFg== 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) From: =?UTF-8?q?Marc=20Poulhi=C3=A8s?= To: gcc-patches@gcc.gnu.org Cc: Piotr Trojanek 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 List-Id: From: Piotr Trojanek 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 -- 2.25.1