summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErick Ochoa <erick.ochoa@theobroma-systems.com>2020-12-04 10:16:18 +0100
committerErick Ochoa <erick.ochoa@theobroma-systems.com>2020-12-04 10:16:48 +0100
commit33a10246020b9804270e88919d5bb4abc4747067 (patch)
tree234189278d44d9076f0a6bdc465601464115c413
parent9f31a16a6752b5b56f28e992580c246ea21cd2f0 (diff)
last
-rw-r--r--gcc/ipa-type-escape-analysis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ipa-type-escape-analysis.c b/gcc/ipa-type-escape-analysis.c
index 1eaab45b2fb..f4917a96b54 100644
--- a/gcc/ipa-type-escape-analysis.c
+++ b/gcc/ipa-type-escape-analysis.c
@@ -438,7 +438,7 @@ find_equivalent_trees (tree r_i, record_field_map4_t &record_field_map,
tpartitions2_t casting)
{
type_incomplete_equality equality;
- vec<tree> *equivalence = new vec<tree>;
+ vec<tree> *equivalence = new vec<tree> ();
bool is_rin_record = casting.in_points_to_record (r_i);
if (!is_rin_record)
return equivalence;
@@ -602,7 +602,7 @@ obtain_nonescaping_unaccessed_fields (tpartitions2_t casting,
// These map holds the following:
// RECORD_TYPE -> unsigned (bit_pos_offset which has been read)
record_field_offset_map.put(r_i, field_offset);
- //delete equivalence;
+ delete equivalence;
}
// So now that we only have the FIELDS which are read,