]> git.ipfire.org Git - thirdparty/gcc.git/commit
gcc/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Sep 2014 12:12:06 +0000 (12:12 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Sep 2014 12:12:06 +0000 (12:12 +0000)
commitf6de51bed9400d7590ae7ded44759d4601ffc555
treed22a546f0e257dd3a005547ab16d0d91106212a3
parent9e26d5243fc181aea0bd2d833422f262441ea928
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
gcc/ChangeLog
gcc/bb-reorder.h
gcc/builtins.h
gcc/gcse.h
gcc/target-globals.c
gcc/target-globals.h