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]

[PATCH] Fix -Werror bootstrap failure on s390(x)


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


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