summaryrefslogtreecommitdiff
path: root/gcc/ipa-str-reorg-dead-field-eliminate.c
diff options
context:
space:
mode:
authorErick Ochoa <erick.ochoa@theobroma-systems.com>2020-02-21 19:42:47 +0100
committerErick Ochoa <erick.ochoa@theobroma-systems.com>2020-05-14 14:45:39 +0200
commit7733957a6b8a7865805743e88adb8d0072d39697 (patch)
treeae67bb6b216e9b9218c12fa227e5690e96680d48 /gcc/ipa-str-reorg-dead-field-eliminate.c
parent92b2ac0066a7d08580891014d2041ef5f955ee65 (diff)
Fixes warning
Diffstat (limited to 'gcc/ipa-str-reorg-dead-field-eliminate.c')
-rw-r--r--gcc/ipa-str-reorg-dead-field-eliminate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-str-reorg-dead-field-eliminate.c b/gcc/ipa-str-reorg-dead-field-eliminate.c
index feb94d194d0..801356541a6 100644
--- a/gcc/ipa-str-reorg-dead-field-eliminate.c
+++ b/gcc/ipa-str-reorg-dead-field-eliminate.c
@@ -2260,7 +2260,7 @@ rewrite_assign_rhs (gimple *stmt, gimple_stmt_iterator &gsi,
}
static void
-rewrite_call_lhs (gimple *stmt, gimple_stmt_iterator &gsi,
+rewrite_call_lhs (gimple *stmt, __attribute__((unused)) gimple_stmt_iterator &gsi,
hash_map<const_tree, const_tree> &type_map)
{
gcc_assert (stmt);