From patchwork Thu Jul 15 01:53:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Li X-Patchwork-Id: 1505505 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: 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=AdE/VsL3; dkim-atps=neutral Received: from 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 RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GQHW30zCYz9sWc for ; Thu, 15 Jul 2021 11:54:55 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6F6B8399480A for ; Thu, 15 Jul 2021 01:54:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6F6B8399480A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1626314092; bh=Jl8hXhO78AgOx9kjil2moXfzmaHIvq7RKNDA067s2z0=; h=Subject:To:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=AdE/VsL3PRDwsI28UXdnII2YScVDtrZBwaUopC8MXZaDz17hzhd00QN212pAvDOfE PdK0TcveOZZOKxycIoQIz2PVx+OOWtl+4NEmxt7RNSlSnoVceLx7vV0jLWQqUzkuAp VTjBEoVeHQIab7yWsNeHKxoXUWKTl9W+lgXQIP4M= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from out30-43.freemail.mail.aliyun.com (out30-43.freemail.mail.aliyun.com [115.124.30.43]) by sourceware.org (Postfix) with ESMTPS id 50654385F015 for ; Thu, 15 Jul 2021 01:54:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 50654385F015 X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R491e4; CH=green; DM=||false|; DS=||; FP=0|-1|-1|-1|0|-1|-1|-1; HT=e01e04395; MF=ashimida@linux.alibaba.com; NM=1; PH=DS; RN=1; SR=0; TI=SMTPD_---0UfpjlzA_1626314026; Received: from ashimida.local(mailfrom:ashimida@linux.alibaba.com fp:SMTPD_---0UfpjlzA_1626314026) by smtp.aliyun-inc.com(127.0.0.1); Thu, 15 Jul 2021 09:53:47 +0800 Subject: [PATCH] Remove legacy external declarations in toplev.h [PR101447] To: gcc-patches@gcc.gnu.org Message-ID: <79e96909-5e54-316f-fb8a-9954ea4c6460@linux.alibaba.com> Date: Thu, 15 Jul 2021 09:53:46 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 Content-Language: en-US X-Spam-Status: No, score=-21.4 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH, GIT_PATCH_0, KAM_DMARC_STATUS, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, UNPARSEABLE_RELAY, USER_IN_DEF_SPF_WL 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: ashimida via Gcc-patches From: Dan Li Reply-To: ashimida Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" External declarations in ./gcc/toplev.h is no longer used in newest version of gcc and should be cleaned up to avoid misunderstandings. gcc/ChangeLog: * toplev.h (set_random_seed): --- extern void initialize_rtl (void); --- The history FYI: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=e6de53356769e13178975c18b4ce019a800ea946;hp=118f2d8bc3e6804996ca2953b86454ec950054bf diff --git a/gcc/toplev.h b/gcc/toplev.h index 175944c..f543554 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -94,11 +94,6 @@ extern bool set_src_pwd (const char *); extern HOST_WIDE_INT get_random_seed (bool); extern void set_random_seed (const char *); -extern unsigned int min_align_loops_log; -extern unsigned int min_align_jumps_log; -extern unsigned int min_align_labels_log; -extern unsigned int min_align_functions_log; - extern void parse_alignment_opts (void);