diff options
author | Jan Hubicka <jh@suse.cz> | 2021-04-10 11:17:56 +0200 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2021-04-10 11:17:56 +0200 |
commit | 1c9744fb3bf2fbf7cec5722f4b187eb553d98280 (patch) | |
tree | f0071d8eb232fa9b9ab3c64918480144e2a53e7f /gcc/tree.c | |
parent | 1a19d334ce493ec2ce2daeac74beef63fd67e2bc (diff) | |
download | gcc-1c9744fb3bf2fbf7cec5722f4b187eb553d98280.zip gcc-1c9744fb3bf2fbf7cec5722f4b187eb553d98280.tar.gz gcc-1c9744fb3bf2fbf7cec5722f4b187eb553d98280.tar.bz2 |
Do not release body of declare_variant_alt
gcc/ChangeLog:
2021-04-10 Jan Hubicka <hubicka@ucw.cz>
PR lto/99857
* tree.c (free_lang_data_in_decl): Do not release body of
declare_variant_alt.
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5849,7 +5849,7 @@ free_lang_data_in_decl (tree decl, class free_lang_data_d *fld) if (!(node = cgraph_node::get (decl)) || (!node->definition && !node->clones)) { - if (node) + if (node && !node->declare_variant_alt) node->release_body (); else { |