[PATCH] Fix -Werror bootstrap failure on s390(x)
Ulrich Weigand
weigand@immd1.informatik.uni-erlangen.de
Wed Jun 11 13:12:00 GMT 2003
Hello,
this fixes a bootstrap error on s390(x) due to an unused argument
warning with -Werror.
Bootstrapped/regtested on s390-ibm-linux and s390x-ibm-linux,
applied as obvious.
ChangeLog:
* expr.c (can_move_by_pieces): align argument may be unused.
Index: gcc/expr.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/expr.c,v
retrieving revision 1.547
diff -c -p -r1.547 expr.c
*** gcc/expr.c 9 Jun 2003 03:21:52 -0000 1.547
--- gcc/expr.c 11 Jun 2003 12:27:36 -0000
*************** convert_modes (mode, oldmode, x, unsigne
*** 1463,1469 ****
int
can_move_by_pieces (len, align)
unsigned HOST_WIDE_INT len;
! unsigned int align;
{
return MOVE_BY_PIECES_P (len, align);
}
--- 1463,1469 ----
int
can_move_by_pieces (len, align)
unsigned HOST_WIDE_INT len;
! unsigned int align ATTRIBUTE_UNUSED;
{
return MOVE_BY_PIECES_P (len, align);
}
--
Dr. Ulrich Weigand
weigand@informatik.uni-erlangen.de
More information about the Gcc-patches
mailing list