* c-semantics.c (add_scope_stmt): Abort if the end SCOPE_STMT
commit5c72e0696da4b0adde84890f82f11df1487ab042
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Dec 2002 06:24:02 +0000 (17 06:24 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Dec 2002 06:24:02 +0000 (17 06:24 +0000)
treedcfd0036884e5fabefd7fb68dda94834b0cfe2e1
parent23874c36c979c82323f7d38d944f1b4eab2c98ff
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60196 138bc75d-0d04-0410-961f-82ee72b054a4
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