summaryrefslogtreecommitdiff
path: root/gcc/ipa-type-escape-analysis.h
diff options
context:
space:
mode:
authorErick Ochoa <erick.ochoa@theobroma-systems.com>2020-12-02 11:41:20 +0100
committerErick Ochoa <erick.ochoa@theobroma-systems.com>2020-12-02 11:41:20 +0100
commit569b35fd18df0735bdee043d5b24ff46d41aae66 (patch)
tree8c1f72b73727a7c199a332a47bfc35dfffef4388 /gcc/ipa-type-escape-analysis.h
parenta04e79625145e6cfcb804fff17db24a3910e1cba (diff)
stack to vec
Diffstat (limited to 'gcc/ipa-type-escape-analysis.h')
-rw-r--r--gcc/ipa-type-escape-analysis.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ipa-type-escape-analysis.h b/gcc/ipa-type-escape-analysis.h
index f552ebea598..7573f06225e 100644
--- a/gcc/ipa-type-escape-analysis.h
+++ b/gcc/ipa-type-escape-analysis.h
@@ -907,7 +907,7 @@ private:
class expr_escaper : public expr_walker
{
public:
- expr_escaper (tpartitions_t &types, hash_map<tree, bool> *whitelisted2) : _type_escaper (types), _whitelisted2(whitelisted2)
+ expr_escaper (tpartitions_t &types, hash_map<tree, bool> *whitelisted2) : _type_escaper (types), _whitelisted2(whitelisted2), _stack2(vNULL)
{};
/* Main interface: T escapes because R. */
@@ -932,6 +932,7 @@ private:
// The bottom of the stack is the expression called on the update
// function.
std::stack<tree> _stack;
+ vec<tree> _stack2;
// Reason to propagate across all subexpressions.
Reason _r;