aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/semantics.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-11-12 17:11:07 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-11-12 17:11:07 +0000
commit2848ad0fd63d89a3e9989b93f6b31ad1498386b6 (patch)
tree1dc16b4181c12f5a35fec4e46b1d2f48415a1060 /gcc/cp/semantics.c
parentd26f8097a31ff6a47d4b0861677ba44a8a25efec (diff)
downloadgcc-2848ad0fd63d89a3e9989b93f6b31ad1498386b6.zip
gcc-2848ad0fd63d89a3e9989b93f6b31ad1498386b6.tar.gz
gcc-2848ad0fd63d89a3e9989b93f6b31ad1498386b6.tar.bz2
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
Diffstat (limited to 'gcc/cp/semantics.c')
-rw-r--r--gcc/cp/semantics.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c
index f9e6dd1..31bbd98 100644
--- a/gcc/cp/semantics.c
+++ b/gcc/cp/semantics.c
@@ -2267,7 +2267,6 @@ expand_stmt (t)
case DECL_STMT:
{
tree decl;
- int i = suspend_momentary ();
emit_line_note (input_filename, lineno);
decl = DECL_STMT_DECL (t);
@@ -2290,8 +2289,6 @@ expand_stmt (t)
}
else if (TREE_CODE (decl) == VAR_DECL && TREE_STATIC (decl))
make_rtl_for_local_static (decl);
-
- resume_momentary (i);
}
break;