From patchwork Tue Feb 13 18:19:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 873105 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-473191-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.b="Gi0wJAwU"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zgrRh0mZ0z9sRm for ; Wed, 14 Feb 2018 05:19:58 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=aeMCekq5GmMyn4VHMjyVONuFAE79MSJtkA78gpMCFPP/vJK1Vv CCfsRTbOPf+fsOT1TCN3rUx4x0f+Ai6xzq4t1VE+pPfCwF3jQ/XJmzUCGMCQ7kue e8Y8D3UqtQrWXkRfQ+CU9Ea5f23bYorQFKIB2xFfrAgnjB1IAPLIXZhoQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=Nni/jhmrJ6zMWQ3qJyzmhvyrzxA=; b=Gi0wJAwUKHLA4s/d1wJS yrnuNwUR/hQ4XtB2LLl/t0DNXr4y8Ac+3W/huY+swOcTv/kqnsSvdSOrjLreBzUt XlOTHRNZZRoOKBwryRgR8xTnkYPalgV1Em8QCnzb5KvCLmJFUJ3dIbEYEc2tUYE1 LvKjVEkksIrYuaHF9P/No1Q= Received: (qmail 52424 invoked by alias); 13 Feb 2018 18:19:52 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 52413 invoked by uid 89); 13 Feb 2018 18:19:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:1332 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; Tue, 13 Feb 2018 18:19:50 +0000 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A44BDC04BD5A for ; Tue, 13 Feb 2018 18:19:49 +0000 (UTC) Received: from localhost.localdomain (ovpn-112-36.rdu2.redhat.com [10.10.112.36]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1060360473 for ; Tue, 13 Feb 2018 18:19:48 +0000 (UTC) To: gcc-patches From: Jeff Law Subject: [PATCH][committed] Fix trivial rl78 failure Message-ID: Date: Tue, 13 Feb 2018 11:19:47 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 X-IsSubscribed: yes I don't think this is sufficient to bring the rl78 back to a working state, but it's a necessary step. ARGS is unused in rl78_handle_func_attribute, but wasn't marked appropriately. Fixed in the obvious way. Committed to the trunk. Jeff commit 5c38c127433adad901f70bac0b9cff258ae831cd Author: law Date: Tue Feb 13 18:17:23 2018 +0000 * config/rl78/rl78.c (rl78_handle_func_attribute): Mark ARGS as unused. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257632 138bc75d-0d04-0410-961f-82ee72b054a4 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f2a89589995..a7b43651115 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-02-13 Jeff Law + + * config/rl78/rl78.c (rl78_handle_func_attribute): Mark + ARGS as unused. + 2018-02-13 Alexandre Oliva * common.opt (gas-loc-support, gas-locview-support): New. diff --git a/gcc/config/rl78/rl78.c b/gcc/config/rl78/rl78.c index 7b2be23577b..5158e83c364 100644 --- a/gcc/config/rl78/rl78.c +++ b/gcc/config/rl78/rl78.c @@ -804,7 +804,7 @@ is_brk_interrupt_func (const_tree decl) static tree rl78_handle_func_attribute (tree * node, tree name, - tree args, + tree args ATTRIBUTE_UNUSED, int flags ATTRIBUTE_UNUSED, bool * no_add_attrs) {