decl.c (compute_array_index_type): New function, split out from grokdeclarator.
authorMark Mitchell <mark@codesourcery.com>
Fri, 12 Nov 1999 17:11:07 +0000 (17:11 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 12 Nov 1999 17:11:07 +0000 (17:11 +0000)
commit2848ad0fd63d89a3e9989b93f6b31ad1498386b6
tree1dc16b4181c12f5a35fec4e46b1d2f48415a1060
parentd26f8097a31ff6a47d4b0861677ba44a8a25efec
decl.c (compute_array_index_type): New function, split out from grokdeclarator.

* decl.c (compute_array_index_type): New function, split out from
grokdeclarator.
(create_array_type_for_decl): Likewise.
(grokdeclarator): Use them.

* semantics.c (expand_stmt): Don't suspend_momentary or
resume_momentary.

From-SVN: r30504
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/semantics.c