diff mbox series

[committed] Fix trivial rl78 failure

Message ID c22ad0f3-352d-065e-6ed6-12e932bff8a4@redhat.com
State New
Headers show
Series [committed] Fix trivial rl78 failure | expand

Commit Message

Jeff Law Feb. 13, 2018, 6:19 p.m. UTC
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 <law@138bc75d-0d04-0410-961f-82ee72b054a4>
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 mbox series

Patch

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  <law@redhat.com>
+
+	* config/rl78/rl78.c (rl78_handle_func_attribute): Mark
+	ARGS as unused.
+
 2018-02-13  Alexandre Oliva <aoliva@redhat.com>
 
 	* 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)
 {