diff options
author | Joseph Myers <jsm@polyomino.org.uk> | 2004-09-30 23:52:06 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2004-09-30 23:52:06 +0100 |
commit | 9bf242660ab1ea936b677e2268b31c0d6426b6e0 (patch) | |
tree | 25f8a76ac5b8cc292d4354c7806f2ac445779968 /gcc/c-tree.h | |
parent | 29e12ba8ca90d773132e59adb730b4093a348028 (diff) | |
download | gcc-9bf242660ab1ea936b677e2268b31c0d6426b6e0.tar.gz |
c-tree.h (readonly_error): Remove.
* c-tree.h (readonly_error): Remove.
* c-typeck (enum lvalue_use): New.
(lvalue_or_else, readonly_error): Use it. All callers changed.
(readonly_error): Make static.
testsuite:
* gcc.dg/lvalue-2.c: New test.
From-SVN: r88362
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r-- | gcc/c-tree.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h index 76981a7ea7c..f6e195fa101 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -428,7 +428,6 @@ extern struct c_expr c_expr_sizeof_expr (struct c_expr); extern struct c_expr c_expr_sizeof_type (struct c_type_name *); extern struct c_expr parser_build_binary_op (enum tree_code, struct c_expr, struct c_expr); -extern void readonly_error (tree, const char *); extern tree build_conditional_expr (tree, tree, tree); extern tree build_compound_expr (tree, tree); extern tree c_cast_expr (struct c_type_name *, tree); |