c-semantics.c (add_scope_stmt): Abort if the end SCOPE_STMT doesn't match the begin...
authorJason Merrill <jason@redhat.com>
Tue, 17 Dec 2002 06:24:02 +0000 (01:24 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 17 Dec 2002 06:24:02 +0000 (01:24 -0500)
commit9f175208940aa2112b07e440e7601a662a3a1a52
treedcfd0036884e5fabefd7fb68dda94834b0cfe2e1
parentc79d892f6408c9308bab00b37f718e077f960daa
c-semantics.c (add_scope_stmt): Abort if the end SCOPE_STMT doesn't match the begin SCOPE_STMT in partialness.

        * c-semantics.c (add_scope_stmt): Abort if the end SCOPE_STMT
        doesn't match the begin SCOPE_STMT in partialness.

cp/
        * semantics.c (do_pushlevel): Call pushlevel after adding the
        SCOPE_STMT.
        (do_poplevel): Call poplevel before adding the SCOPE_STMT.
        * parse.y (function_body): Go back to using compstmt.
        * decl.c (pushdecl): Skip another level to get to the parms level.

        * call.c (build_new_method_call): Use is_dummy_object to determine
        whether or not to evaluate the object parameter to a static member
        function.

From-SVN: r60196
gcc/ChangeLog
gcc/c-semantics.c
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/decl.c
gcc/cp/parse.y
gcc/cp/semantics.c