re PR c++/13092 (Accepts invalid pointer-to-member conversion)
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
Tue, 1 Jun 2004 15:51:56 +0000 (15:51 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 1 Jun 2004 15:51:56 +0000 (11:51 -0400)
commit43daf8ffa83f013ccc2a7db8845375df73f5556b
tree2def6dd5f3df50ec9750e71c7af3a314f0c66c12
parent7a3ea2011be31e937186df05335f665a8a983028
re PR c++/13092 (Accepts invalid pointer-to-member conversion)

        PR c++/13092
        * init.c (build_offset_ref): Build SCOPE_REF with non-null
        TREE_TYPE for non-dependent names.
        * pt.c (type_dependent_expression_p): Handle SCOPE_REF with
        unknown_type_node as its TREE_TYPE.
        * cxx-pretty_print.c (pp_cxx_unqualified_id): Handle BASELINK.
        * error.c (dump_decl) <SCOPE_REF case>: Use pp_expression.
        (dump_expr) <SCOPE_REF case>: Likewise.

From-SVN: r82551
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cxx-pretty-print.c
gcc/cp/error.c
gcc/cp/init.c
gcc/cp/pt.c