aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2012-06-17 21:12:24 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2012-06-17 21:12:24 +0000
commitca3f2950267c25a44aa73f8290b5fb407af81260 (patch)
treee814ff4111b16d31e2e72a0a4c64d66ee862eaf5 /gcc/tree.h
parent172a84ffae1199c36f0c0c3ac5721f13808d2041 (diff)
downloadgcc-ca3f2950267c25a44aa73f8290b5fb407af81260.zip
gcc-ca3f2950267c25a44aa73f8290b5fb407af81260.tar.gz
gcc-ca3f2950267c25a44aa73f8290b5fb407af81260.tar.bz2
output.h (split_double): Move prototype to rtl.h.
* output.h (split_double): Move prototype to rtl.h. (constructor_static_from_elts_p): Move prototype to tree.c. * rtl.h (split_double): Moved here from output.h. * tree.h (constructor_static_from_elts_p): Moved here from output.h. * final.c (split_double): Move from here ... * rtlanal.c (split_double): ... to here. * expr.c: Do not include output.h. From-SVN: r188714
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 9246893..1539bec 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -5709,6 +5709,13 @@ extern tree initializer_constant_valid_p (tree, tree);
an element of a "constant" initializer. */
extern bool initializer_constant_valid_for_bitfield_p (tree);
+/* Whether a constructor CTOR is a valid static constant initializer if all
+ its elements are. This used to be internal to initializer_constant_valid_p
+ and has been exposed to let other functions like categorize_ctor_elements
+ evaluate the property while walking a constructor for other purposes. */
+
+extern bool constructor_static_from_elts_p (const_tree);
+
/* In stmt.c */
extern void expand_computed_goto (tree);
extern bool parse_output_constraint (const char **, int, int, int,