]> git.ipfire.org Git - thirdparty/gcc.git/commit
c-tree.h (default_function_array_conversion): Take and return struct c_expr.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 29 Jun 2005 22:13:56 +0000 (23:13 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Wed, 29 Jun 2005 22:13:56 +0000 (23:13 +0100)
commitf2a71bbcb28113d911c41f133a163f8f03fae04a
treec48b91e3a25e2d526fe68f6ba85cfffb181ca5c9
parenta81408c939f8b804f6b16e49b738dbc0c3d15a01
c-tree.h (default_function_array_conversion): Take and return struct c_expr.

* 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.

From-SVN: r101440
gcc/ChangeLog
gcc/c-parser.c
gcc/c-tree.h
gcc/c-typeck.c