]> gcc.gnu.org Git - gcc.git/commit
search.c (shared_member_p): New function.
authorJason Merrill <jason@redhat.com>
Thu, 8 Feb 2001 15:54:39 +0000 (10:54 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 8 Feb 2001 15:54:39 +0000 (10:54 -0500)
commitbd0d5d4a5e3ecf01c4f5d2c537ad4b3a10d94777
treef2dedc12f81ff4a7ee22feea5cba093301e449cb
parent0c1cf241c4a4fa72ead663cf55e443f6084eacae
search.c (shared_member_p): New function.

        * search.c (shared_member_p): New function.
        (lookup_field_r): Use it.
        * cp-tree.h (SHARED_MEMBER_P): Remove.

        * method.c (process_overload_item): Handle template-dependent array
        bounds.
        * pt.c (type_unification_real): If we end up with undeduced nontype
        parms, try again.

        * decl.c (lookup_name_real): Tweak warning to refer to decls, not
        types.

        * typeck2.c (friendly_abort): Don't say anything if we have
        earlier errors or sorries.

        * decl.c (check_tag_decl): Notice attempts to redefine bool and
        wchar_t.  Ignore if in_system_header.

        * decl.c (maybe_push_cleanup_level): New fn...
        (start_decl_1): ...split out from here.
        * cvt.c (build_up_reference): Use it.
        * cp-tree.h: Declare it.

From-SVN: r39540
13 files changed:
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/cvt.c
gcc/cp/decl.c
gcc/cp/method.c
gcc/cp/pt.c
gcc/cp/search.c
gcc/cp/typeck2.c
gcc/testsuite/g++.old-deja/g++.ext/syshdr1.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.other/dtor12.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.other/goto4.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.other/lookup21.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/deduct4.C [new file with mode: 0644]
This page took 0.059352 seconds and 5 git commands to generate.