cp-tree.h (strip_array_types): New function.
authorMark Mitchell <mark@codesourcery.com>
Sun, 29 Aug 1999 01:39:04 +0000 (01:39 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 29 Aug 1999 01:39:04 +0000 (01:39 +0000)
commit27778b739c3893b3aa6295e21c698aad2f7b5934
tree55c1952e777b54793ab4c537a88880bd600bb3e0
parent31aa49b77060d8d81466908a506854a08b7efb18
cp-tree.h (strip_array_types): New function.

* cp-tree.h (strip_array_types): New function.
* decl.c (maybe_deduce_size_from_array_init): New function, split
out from cp_finish_decl.
(layout_var_decl): Likewise.
(maybe_commonize_var): Likewise.
(maybe_inject_for_scope_var): Likewise.
(initialize_local_var): Likewise.
(build_cleanup_on_safe_obstack): Likewise.
(check_initializer): Likewise.
(make_rtl_for_nonlocal_decl): Likewise.
(cp_finish_decl): Use them.
* typeck.c (strip_array_types): New function.

From-SVN: r28956
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/typeck.c