diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-29 22:13:56 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-29 22:13:56 +0000 |
commit | e78cf9a78a72291e02b9b0afa69091640b743910 (patch) | |
tree | c48b91e3a25e2d526fe68f6ba85cfffb181ca5c9 /gcc/c-tree.h | |
parent | 0e414479d8742105ac42ecb778faa0167fc301a2 (diff) | |
download | gcc-e78cf9a78a72291e02b9b0afa69091640b743910.tar.gz |
* c-tree.h (default_function_array_conversion): Take and return
struct c_expr.
* c-typeck.c (default_function_array_conversion): Split into
array_to_pointer_conversion and function_to_pointer_conversion.
Take and return struct c_expr.
(array_to_pointer_conversion): Do not handle type qualifiers or
COMPOUND_EXPRs specially.
(build_function_call): Call function_to_pointer_conversion for
function designators.
(build_unary_op): Call array_to_pointer_conversion, not
default_function_array_conversion.
(digest_init, output_init_element): Likewise.
* c-parser.c: All callers of default_function_array_conversion
changed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101440 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r-- | gcc/c-tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h index 77d01b24898..e92006c6147 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -523,7 +523,7 @@ extern bool c_mark_addressable (tree); extern void c_incomplete_type_error (tree, tree); extern tree c_type_promotes_to (tree); extern tree default_conversion (tree); -extern tree default_function_array_conversion (tree); +extern struct c_expr default_function_array_conversion (struct c_expr); extern tree composite_type (tree, tree); extern tree build_component_ref (tree, tree); extern tree build_indirect_ref (tree, const char *); |