diff options
author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-28 20:22:58 +0000 |
---|---|---|
committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-28 20:22:58 +0000 |
commit | 80d4c05f76e0073a56d14287151cb29929a7ba63 (patch) | |
tree | d1265a7f21fa36333e53d93d90b783011f0aed2f /gcc/target.def | |
parent | 06bedae0473d8cbcc76725a6f7a7d052f58cd456 (diff) | |
download | gcc-80d4c05f76e0073a56d14287151cb29929a7ba63.tar.gz |
* target.def (use_blocks_for_decl_p): New hook.
* varasm.c (use_blocks_for_decl_p): Apply hook as final condition.
* doc/tm.texi.in (USE_BLOCKS_FOR_DECL_P): New description.
* doc/tm.texi: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193906 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target.def')
-rw-r--r-- | gcc/target.def | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/target.def b/gcc/target.def index 6d00262d68c..0f3164a41bd 100644 --- a/gcc/target.def +++ b/gcc/target.def @@ -1495,6 +1495,13 @@ DEFHOOK bool, (enum machine_mode mode, const_rtx x), hook_bool_mode_const_rtx_false) +/* True if the given decl can be put into an object_block. */ +DEFHOOK +(use_blocks_for_decl_p, + "", + bool, (const_tree decl), + hook_bool_const_tree_true) + /* The minimum and maximum byte offsets for anchored addresses. */ DEFHOOKPOD (min_anchor_offset, |