diff mbox

[committed] Fix unused argument error in expr.c

Message ID B528DF7C-A8C7-487E-A046-CD36B52D438D@bell.net
State New
Headers show

Commit Message

John David Anglin June 5, 2016, 8:46 p.m. UTC
The attached change fixes a build error on hppa-unknown-linux-gnu.  Committed as obvious.

Dave
--
John David Anglin	dave.anglin@bell.net
2016-06-05  John David Anglin  <danglin@gcc.gnu.org>

	* expr.c (move_by_pieces_d::generate): Mark mode parameter with
	ATTRIBUTE_UNUSED.
diff mbox

Patch

Index: expr.c
===================================================================
--- expr.c	(revision 237097)
+++ expr.c	(working copy)
@@ -1143,7 +1143,8 @@ 
    gen function that should be used to generate the mode.  */
 
 void
-move_by_pieces_d::generate (rtx op0, rtx op1, machine_mode mode)
+move_by_pieces_d::generate (rtx op0, rtx op1,
+			    machine_mode mode ATTRIBUTE_UNUSED)
 {
 #ifdef PUSH_ROUNDING
   if (op0 == NULL_RTX)