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

login
register
mail settings
Submitter Joern Rennecke
Date Oct. 31, 2012, 2:39 p.m.
Message ID <20121031103923.3oeq8adjvk08sc4c-nzlynne@webmail.spamcop.net>
Download mbox | patch
Permalink /patch/195886/
State New
Headers show

Comments

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

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);