projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eafe8ee
)
Fix freeing of thunk-info
author
Jan Hubicka
<jh@suse.cz>
Sun, 29 Nov 2020 22:22:24 +0000
(23:22 +0100)
committer
Jan Hubicka
<jh@suse.cz>
Sun, 29 Nov 2020 22:22:24 +0000
(23:22 +0100)
PR jit/97867
* symtab-thunks.h (thunk_info::release): Use ggc_delete.
gcc/symtab-thunks.h
patch
|
blob
|
history
diff --git
a/gcc/symtab-thunks.h
b/gcc/symtab-thunks.h
index 41a684995b31688e3b3f3df173b22f4542875e04..0dba2217793d53df4df3694f74d948348bac4f33 100644
(file)
--- a/
gcc/symtab-thunks.h
+++ b/
gcc/symtab-thunks.h
@@
-167,7
+167,7
@@
inline void
thunk_info::release ()
{
if (symtab->m_thunks)
- delete (symtab->m_thunks);
+
ggc_
delete (symtab->m_thunks);
symtab->m_thunks = NULL;
}
#endif /* GCC_SYMTAB_THUNKS_H */