------- Comment #5 from jakub at gcc dot gnu dot org  2007-11-10 07:36 -------
Subject: Bug 32241

Author: jakub
Date: Sat Nov 10 07:36:09 2007
New Revision: 130066

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130066
Log:
        PR c++/32241
        * pt.c (tsubst_copy_and_build) <case COMPONENT_REF>: If object_type
        is not scalar type, let finish_class_member_access_expr handle
        diagnostics.  Pass BIT_NOT_EXPR argument to
        finish_pseudo_destructor_expr.  Handle SCOPE_REF properly.

        * g++.dg/template/pseudodtor3.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/template/pseudodtor3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


-- 


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

Reply via email to