committed: fix compilation failure for ports that don't use LEN parameter of MOVE_BY_PIECES_P

Submitted by Joern Rennecke on Oct. 31, 2012, 2:39 p.m.

Details

Message ID 20121031103923.3oeq8adjvk08sc4c-nzlynne@webmail.spamcop.net
State New
Headers show

Commit Message

Joern Rennecke Oct. 31, 2012, 2:39 p.m.
Committed as obvious.
2012-10-31  Joern Rennecke  <joern.rennecke@embecosm.com>

	* expr.c (can_move_by_pieces): Apply ATTRIBUTE_UNUSED to len.

Patch hide | download patch | download mbox

Index: expr.c
===================================================================
--- expr.c	(revision 193034)
+++ expr.c	(working copy)
@@ -841,7 +841,7 @@  widest_int_mode_for_size (unsigned int s
    succeed.  */
 
 int
-can_move_by_pieces (unsigned HOST_WIDE_INT len,
+can_move_by_pieces (unsigned HOST_WIDE_INT len ATTRIBUTE_UNUSED,
 		    unsigned int align ATTRIBUTE_UNUSED)
 {
   return MOVE_BY_PIECES_P (len, align);