This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Committed as obvious.
2012-10-31  Joern Rennecke  <joern.rennecke@embecosm.com>

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

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]