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
commitb04babf3ad5baaddc6ed0aa6d5b7a5304808e99e (patch)
treee814ff4111b16d31e2e72a0a4c64d66ee862eaf5 /gcc/tree.h
parent4e6304525c7212e0bd2eba548af7287f9475c90e (diff)
* 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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@188714 138bc75d-0d04-0410-961f-82ee72b054a4
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 924689339a2..1539becd95c 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,