summaryrefslogtreecommitdiff
path: root/gcc/ipa-str-reorg-dead-field-eliminate.c
diff options
context:
space:
mode:
authorErick Ochoa <erick.ochoa@theobroma-systems.com>2020-03-05 13:29:37 +0100
committerErick Ochoa <erick.ochoa@theobroma-systems.com>2020-06-03 16:05:17 +0200
commite06ab2c2c3ca76e791e15d39fd7fea0c4f9efc91 (patch)
tree67f21d0fdd7d1dc8d082d0cd1c7765f29f2c0141 /gcc/ipa-str-reorg-dead-field-eliminate.c
parent02c90b5940f6df93beff28f210c186af2a368761 (diff)
wip
Diffstat (limited to 'gcc/ipa-str-reorg-dead-field-eliminate.c')
-rw-r--r--gcc/ipa-str-reorg-dead-field-eliminate.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/ipa-str-reorg-dead-field-eliminate.c b/gcc/ipa-str-reorg-dead-field-eliminate.c
index 821a721fd6f..ddb7b74b30a 100644
--- a/gcc/ipa-str-reorg-dead-field-eliminate.c
+++ b/gcc/ipa-str-reorg-dead-field-eliminate.c
@@ -681,6 +681,7 @@ filter_out_boring_array (const_tree array, hash_set<const_tree> &map)
static bool
filter_out_boring_reference (const_tree ref, hash_set<const_tree> &map)
{
+ gcc_unreachable();
enum tree_code code = TREE_CODE (ref);
gcc_assert (code == REFERENCE_TYPE);
test_log ("in filter out boring reference", 0);
@@ -712,11 +713,6 @@ filter_out_boring_type (const_tree type, hash_set<const_tree> &map)
// this approach would fail...
enum tree_code code = TREE_CODE (type);
- const char *type_name = get_type_name (type);
- test_log ("filter_out_boring_type %s %s", 0, type_name,
- get_tree_code_name (code));
- if (strcmp (type_name, "indirect_call_tuple") == 0)
- return true;
bool retval = true;
switch (code)
{