icf: Fix memory leak of a vector.
gcc/ChangeLog: * ipa-icf.h: Use auto_vec for memory_access_types.
This commit is contained in:
parent
4ea5fe8b40
commit
088264ea44
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@ public:
|
|||
hashval_t gcode_hash;
|
||||
|
||||
/* Vector of subpart of memory access types. */
|
||||
vec<tree> memory_access_types;
|
||||
auto_vec<tree> memory_access_types;
|
||||
|
||||
/* Total number of SSA names used in the function. */
|
||||
unsigned ssa_names_size;
|
||||
|
|
Loading…
Add table
Reference in a new issue