aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/expr.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d7a2527..db3a073 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2016-06-05 John David Anglin <danglin@gcc.gnu.org>
+
+ * expr.c (move_by_pieces_d::generate): Mark mode parameter with
+ ATTRIBUTE_UNUSED.
+
2016-06-05 Jan Hubicka <hubicka@ucw.cz>
* predict.c (predicted_by_loop_heuristics_p): New function.
diff --git a/gcc/expr.c b/gcc/expr.c
index 19af58f..2c32b28 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -1143,7 +1143,8 @@ move_by_pieces_d::prepare_mode (machine_mode mode, unsigned int align)
gen function that should be used to generate the mode. */
void
-move_by_pieces_d::generate (rtx op0, rtx op1, machine_mode mode)
+move_by_pieces_d::generate (rtx op0, rtx op1,
+ machine_mode mode ATTRIBUTE_UNUSED)
{
#ifdef PUSH_ROUNDING
if (op0 == NULL_RTX)