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 21:01:53 +0100
committerErick Ochoa <erick.ochoa@theobroma-systems.com>2020-06-03 16:05:13 +0200
commit5baab4ae343ff309b87ef76f21a18cc4968b9e20 (patch)
tree9fc77283f1884fe23eb7af7712bbac0d7bb1212a /gcc/ipa-str-reorg-dead-field-eliminate.c
parent997e4064f7c4ec05a615f2e943070cfef47b7b38 (diff)
Fixes warning
Diffstat (limited to 'gcc/ipa-str-reorg-dead-field-eliminate.c')
-rw-r--r--gcc/ipa-str-reorg-dead-field-eliminate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/ipa-str-reorg-dead-field-eliminate.c b/gcc/ipa-str-reorg-dead-field-eliminate.c
index cf55308ed11..cdf87535738 100644
--- a/gcc/ipa-str-reorg-dead-field-eliminate.c
+++ b/gcc/ipa-str-reorg-dead-field-eliminate.c
@@ -1684,9 +1684,8 @@ rewrite_mem_ref_def (tree expr, hash_map<const_tree, const_tree> &type_map,
static bool
rewrite_ssa_name_def (tree expr, hash_map<const_tree, const_tree> &type_map,
- const int indent)
+ __attribute__((unused)) const int indent)
{
- const char *old_expr = print_generic_expr_to_str (expr);
tree type = TREE_TYPE (expr);
tree ssa_name_var = SSA_NAME_VAR (expr);
const_tree *new_type_ptr = type_map.get (type);