OSDN Git Service

* semantics.c (begin_global_stmt_expr): Adjust
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Dec 2001 10:30:47 +0000 (10:30 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Dec 2001 10:30:47 +0000 (10:30 +0000)
expand_start_stmt_expr invocation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47608 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/semantics.c

index a8118ef..01ba788 100644 (file)
@@ -1,3 +1,8 @@
+2001-12-04  Alexandre Oliva  <aoliva@redhat.com>
+
+       * semantics.c (begin_global_stmt_expr): Adjust
+       expand_start_stmt_expr invocation.
+
 2001-12-04  Nathan Sidwell  <nathan@codesourcery.com>
 
        * pt.c (end_template_parm_list): Clear TREE_CHAIN of each parm.
index 2a31da0..aecaca7 100644 (file)
@@ -1292,7 +1292,7 @@ begin_global_stmt_expr ()
 
   keep_next_level (1);
   
-  return (last_tree != NULL_TREE) ? last_tree : expand_start_stmt_expr(); 
+  return (last_tree != NULL_TREE) ? last_tree : expand_start_stmt_expr(1); 
 }
 
 /* Finish the STMT_EXPR last begun with begin_global_stmt_expr.  */