]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/target-globals.h
bb-reorder.h (default_target_bb_reorder): Remove redundant GTY.
authorRichard Sandiford <rdsandiford@googlemail.com>
Tue, 9 Sep 2014 12:12:06 +0000 (12:12 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 9 Sep 2014 12:12:06 +0000 (12:12 +0000)
commit1942d1a9e17406469aef7d38e927dd7a14f5b376
treed22a546f0e257dd3a005547ab16d0d91106212a3
parentcb3037199c8e3ca9f7982ec3a0024f8ab007cfbb
bb-reorder.h (default_target_bb_reorder): Remove redundant GTY.

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.

From-SVN: r215063
gcc/ChangeLog
gcc/bb-reorder.h
gcc/builtins.h
gcc/gcse.h
gcc/target-globals.c
gcc/target-globals.h