summaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-31 01:13:08 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-31 01:13:08 +0000
commit43f74bc4a6d32b53b7370b1b538447473eafc0f1 (patch)
tree2f3e1a3cf22e4e54e7419196de2cc7403340bbb3 /gcc/c-common.h
parent6d1f9f96fd4040b217358e51f4b6a8fbe2cece38 (diff)
downloadgcc-43f74bc4a6d32b53b7370b1b538447473eafc0f1.tar.gz
* c-typeck.c (initializer_constant_valid_p): Move ...
* c-common.c (initializer_constant_valid_p): ... here. Use FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction of label addresses. * c-common.h (initializer_constant_valid_p): Declare. * c-tree.h (initializer_constant_valid_p): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28349 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r--gcc/c-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index ec4a556a2e4..ab0cdecbd37 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -190,3 +190,5 @@ extern tree builtin_function PROTO((const char *, tree, enum built_in_function
extern void c_common_nodes_and_builtins PROTO((int, int, int));
extern tree build_va_arg PROTO((tree, tree));
+
+extern tree initializer_constant_valid_p PROTO((tree, tree));