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-05-14 14:45:45 +0200
commit96f2c580c1fc36a4264fa239f4fb7a7a450a760b (patch)
tree42c86489688adbab0c67487dfddbcb0bde1e2475 /gcc/ipa-str-reorg-dead-field-eliminate.c
parent690b2584f00a818f9d921eb2a0c98b55b6cdbd2b (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)
{