summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorErick Ochoa <erick.ochoa@theobroma-systems.com>2020-02-21 20:01:43 +0100
committerErick Ochoa <erick.ochoa@theobroma-systems.com>2020-04-28 23:35:42 +0200
commitc4db5b023fa52cd96b1cedad296042648f753299 (patch)
tree574b3e6aff8fc5402c29c78095a10bf6efb8eeb4 /gcc
parent410c302f885e9ca570e6179492be4ffe2019082f (diff)
Fixes warnings
Diffstat (limited to 'gcc')
-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 ffca42acf60..95d319ead4a 100644
--- a/gcc/ipa-str-reorg-dead-field-eliminate.c
+++ b/gcc/ipa-str-reorg-dead-field-eliminate.c
@@ -1823,7 +1823,7 @@ rewrite_array_ref_def (tree expr, hash_map<const_tree, const_tree> &type_map,
static void
rewrite_pointer_diff_def_rhs_variable_replace_constants_implementation (
- gimple_stmt_iterator &gsi, tree lhs, tree pointer, tree variable,
+ __attribute__((unused)) gimple_stmt_iterator &gsi, tree lhs, tree pointer, __attribute__((unused)) tree variable,
const_tree old_type)
{
// We will need this later