From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9281 invoked by alias); 1 Mar 2019 08:12:27 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 9264 invoked by uid 89); 1 Mar 2019 08:12:27 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.9 required=5.0 tests=BAYES_00,GIT_PATCH_2,GIT_PATCH_3,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=guarded X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 01 Mar 2019 08:12:26 +0000 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0EE19315540C for ; Fri, 1 Mar 2019 08:12:25 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-117-64.ams2.redhat.com [10.36.117.64]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A8E1F60DB4 for ; Fri, 1 Mar 2019 08:12:24 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id x218CMNk028627 for ; Fri, 1 Mar 2019 09:12:22 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id x218CLos028626 for gcc-patches@gcc.gnu.org; Fri, 1 Mar 2019 09:12:21 +0100 Date: Fri, 01 Mar 2019 08:12:00 -0000 From: Jakub Jelinek To: gcc-patches@gcc.gnu.org Subject: [committed] Unbreak non-ELF target bootstrap (PR bootstrap/89539) Message-ID: <20190301081221.GN7611@tucnak> Reply-To: Jakub Jelinek MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-IsSubscribed: yes X-SW-Source: 2019-03/txt/msg00009.txt.bz2 Hi! The new early_lto_debug argument is right now used solely in #if defined (OBJECT_FORMAT_ELF) guarded parts of the function, so on other targets it warns about unused parameter. Fixed thusly, committed to trunk as obvious. 2019-03-01 Jakub Jelinek PR bootstrap/89539 * dwarf2out.c (output_comdat_type_unit): Add ATTRIBUTE_UNUSED to early_lto_debug argument. --- gcc/dwarf2out.c.jj 2019-02-27 15:49:28.567392391 +0100 +++ gcc/dwarf2out.c 2019-03-01 09:04:15.440751912 +0100 @@ -11234,7 +11234,8 @@ output_skeleton_debug_sections (dw_die_r /* Output a comdat type unit DIE and its children. */ static void -output_comdat_type_unit (comdat_type_node *node, bool early_lto_debug) +output_comdat_type_unit (comdat_type_node *node, + bool early_lto_debug ATTRIBUTE_UNUSED) { const char *secname; char *tmp; Jakub