aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2016-06-05 20:42:40 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2016-06-05 20:42:40 +0000
commit603e5a828b646bb802c4695b1046c7974fc2112f (patch)
treee8e823551bdc09632f1284fb7d926c3822a19d2c /gcc
parent9c1eb332b0be418524796f1265083808bbb5319f (diff)
downloadgcc-603e5a828b646bb802c4695b1046c7974fc2112f.zip
gcc-603e5a828b646bb802c4695b1046c7974fc2112f.tar.gz
gcc-603e5a828b646bb802c4695b1046c7974fc2112f.tar.bz2
expr.c (move_by_pieces_d::generate): Mark mode parameter with ATTRIBUTE_UNUSED.
* expr.c (move_by_pieces_d::generate): Mark mode parameter with ATTRIBUTE_UNUSED. From-SVN: r237110
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)