OSDN Git Service

* c-tree.h (default_function_array_conversion): Take and return
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Jun 2005 22:13:56 +0000 (22:13 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Jun 2005 22:13:56 +0000 (22:13 +0000)
commite78cf9a78a72291e02b9b0afa69091640b743910
treec48b91e3a25e2d526fe68f6ba85cfffb181ca5c9
parent0e414479d8742105ac42ecb778faa0167fc301a2
* 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
gcc/ChangeLog
gcc/c-parser.c
gcc/c-tree.h
gcc/c-typeck.c