diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-09 12:12:06 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-09 12:12:06 +0000 |
commit | f6de51bed9400d7590ae7ded44759d4601ffc555 (patch) | |
tree | d22a546f0e257dd3a005547ab16d0d91106212a3 /gcc/builtins.h | |
parent | 9e26d5243fc181aea0bd2d833422f262441ea928 (diff) | |
download | gcc-f6de51bed9400d7590ae7ded44759d4601ffc555.tar.gz |
gcc/
* bb-reorder.h (default_target_bb_reorder): Remove redundant GTY.
* builtins.h (default_target_builtins): Likewise.
* gcse.h (default_target_gcse): Likewise.
* target-globals.h (target_globals): Add a destructor. Convert
void-pointer fields back to their real type and change from
GTY((atomic)) to GTY((skip)).
(restore_target_globals): Remove casts accordingly.
* target-globals.c (save_target_globals): Use XCNEW rather than
ggc_internal_cleared_alloc to allocate non-GC structures.
Use ggc_cleared_alloc to allocate the target_globals structure
itself.
(target_globals::~target_globals): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215063 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/builtins.h')
-rw-r--r-- | gcc/builtins.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/builtins.h b/gcc/builtins.h index cac2de6a06f..dd1cdbcec7e 100644 --- a/gcc/builtins.h +++ b/gcc/builtins.h @@ -39,7 +39,7 @@ struct target_builtins { enum machine_mode x_apply_result_mode[FIRST_PSEUDO_REGISTER]; }; -extern GTY(()) struct target_builtins default_target_builtins; +extern struct target_builtins default_target_builtins; #if SWITCHABLE_TARGET extern struct target_builtins *this_target_builtins; #else |