summaryrefslogtreecommitdiff
path: root/gcc/bb-reorder.h
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2014-09-09 12:12:06 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2014-09-09 12:12:06 +0000
commit1942d1a9e17406469aef7d38e927dd7a14f5b376 (patch)
treed22a546f0e257dd3a005547ab16d0d91106212a3 /gcc/bb-reorder.h
parentcb3037199c8e3ca9f7982ec3a0024f8ab007cfbb (diff)
downloadgcc-1942d1a9e17406469aef7d38e927dd7a14f5b376.tar.gz
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
Diffstat (limited to 'gcc/bb-reorder.h')
-rw-r--r--gcc/bb-reorder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/bb-reorder.h b/gcc/bb-reorder.h
index 4dbb56f1e80..1200f0fc7e8 100644
--- a/gcc/bb-reorder.h
+++ b/gcc/bb-reorder.h
@@ -26,7 +26,7 @@ struct target_bb_reorder {
int x_uncond_jump_length;
};
-extern GTY(()) struct target_bb_reorder default_target_bb_reorder;
+extern struct target_bb_reorder default_target_bb_reorder;
#if SWITCHABLE_TARGET
extern struct target_bb_reorder *this_target_bb_reorder;
#else