This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
committed: fix compilation failure for ports that don't use LEN parameter of MOVE_BY_PIECES_P
- From: Joern Rennecke <joern dot rennecke at embecosm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 31 Oct 2012 10:39:23 -0400
- Subject: 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);