diff options
author | Jan Hubicka <jh@suse.cz> | 2019-11-07 18:06:43 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2019-11-07 17:06:43 +0000 |
commit | c6145f2ac6f946ae2613ffbd85ba072cf05d4a3f (patch) | |
tree | 9c4e29310f176f5355cb165b1abc2ecfac45974f /gcc/tree.c | |
parent | 4629ea55608ee2f1e04186dce2c7f55af0537ccb (diff) | |
download | gcc-c6145f2ac6f946ae2613ffbd85ba072cf05d4a3f.zip gcc-c6145f2ac6f946ae2613ffbd85ba072cf05d4a3f.tar.gz gcc-c6145f2ac6f946ae2613ffbd85ba072cf05d4a3f.tar.bz2 |
optc-save-gen.awk: Generate cl_target_option_free and cl_optimization_option_free.
* optc-save-gen.awk: Generate cl_target_option_free
and cl_optimization_option_free.
* opth-en.awk: Declare cl_target_option_free
and cl_optimization_option_free.
* tree.c (free_node): Use it.
From-SVN: r277926
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1170,6 +1170,10 @@ free_node (tree node) vec_free (BLOCK_NONLOCALIZED_VARS (node)); else if (code == TREE_BINFO) vec_free (BINFO_BASE_ACCESSES (node)); + else if (code == OPTIMIZATION_NODE) + cl_optimization_option_free (TREE_OPTIMIZATION (node)); + else if (code == TARGET_OPTION_NODE) + cl_target_option_free (TREE_TARGET_OPTION (node)); ggc_free (node); } |