diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2012-06-04 11:17:58 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2012-06-04 11:17:58 +0000 |
commit | a4b7d13c17f51702b93610d3c1a7d741acda6196 (patch) | |
tree | 8e9c8694b65f0c085a2c42663cc1b4b5fb0e57b4 /gcc/tree.h | |
parent | 0b8a03e10ef01bf8f44bbba141a0c2451317c887 (diff) | |
download | gcc-a4b7d13c17f51702b93610d3c1a7d741acda6196.zip gcc-a4b7d13c17f51702b93610d3c1a7d741acda6196.tar.gz gcc-a4b7d13c17f51702b93610d3c1a7d741acda6196.tar.bz2 |
output.h (merge_weak, [...]): Move protos from here...
* output.h (merge_weak, assemble_alias,
initializer_constant_valid_p,
initializer_constant_valid_for_bitfield_p): Move protos from here...
* tree.h: ... to here.
* cgraphclones.c: Do not include output.h.
* gimplify.c: Likewise.
* reload.c: Likewise.
* recog.c: Likewise.
* tree-ssa-loop-ivopts.c: Likewise.
* tree-switch-conversion.c: Likewise.
* c-parser.c: Likewise.
* c-typeck.c: Likewise.
* Makefile.in: Fix dependencies.
c-family/
* c-common.c: Do not include output.h.
* c-pragma.c: Likewise.
cp/
* semantics.c: Do not include output.h.
* decl2.c: Likewise.
* friend.c: Likewise.
* typeck.c: Likewise.
* typeck2.c: Likewise.
* Make-lang.in: Fix dependencies.
ada/
* gcc-interface/utils2.c: Do not include output.h.
* gcc-interface/Make-lang.in: Fix dependencies.
From-SVN: r188178
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -5680,6 +5680,29 @@ extern bool decl_replaceable_p (tree); extern bool decl_binds_to_current_def_p (tree); extern enum tls_model decl_default_tls_model (const_tree); +/* Declare DECL to be a weak symbol. */ +extern void declare_weak (tree); +/* Merge weak status. */ +extern void merge_weak (tree, tree); +/* Make one symbol an alias for another. */ +extern void assemble_alias (tree, tree); + +/* Return nonzero if VALUE is a valid constant-valued expression + for use in initializing a static variable; one that can be an + element of a "constant" initializer. + + Return null_pointer_node if the value is absolute; + if it is relocatable, return the variable that determines the relocation. + We assume that VALUE has been folded as much as possible; + therefore, we do not need to check for such things as + arithmetic-combinations of integers. */ +extern tree initializer_constant_valid_p (tree, tree); + +/* Return true if VALUE is a valid constant-valued expression + for use in initializing a static bit-field; one that can be + an element of a "constant" initializer. */ +extern bool initializer_constant_valid_for_bitfield_p (tree); + /* In stmt.c */ extern void expand_computed_goto (tree); extern bool parse_output_constraint (const char **, int, int, int, |