------- Comment #3 from dgregor at gcc dot gnu dot org  2008-02-06 18:49 -------
Subject: Bug 35096

Author: dgregor
Date: Wed Feb  6 18:49:03 2008
New Revision: 132152

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132152
Log:
2008-02-06  Douglas Gregor  <[EMAIL PROTECTED]>

        PR c++/35049
        PR c++/35096
        * typeck.c (structural_comptypes): Call cp_comptypes.
        (comptypes): New; called from the C/C++ common bits to perform
        strict checks.
        (cp_comptypes): Renamed from comptypes, which is already used,
        with a different signature, by the C++ front end.
        (build_reinterpret_cast_1): Call cp_comptypes.
        (ptr_reasonably_similar): Ditto.
        * decl.c (decls_match): Ditto.
        * cvt.c (convert_to_reference): Ditto.
        * cp-tree.h (same_type_p): Ditto.
        (same_or_base_type_p): Ditto.
        (comptypes): Rename to cp_comptypes.
        * pt.c (canonical_type_parameter): Call cp_comptypes.

2008-02-06  Douglas Gregor  <[EMAIL PROTECTED]>

        PR c++/35049
        PR c++/35096
        * g++.dg/ext/vector13.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/ext/vector13.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/cvt.c
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/typeck.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35096

Reply via email to