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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-07-01 
20:24:29 UTC ---
Author: jason
Date: Fri Jul  1 20:24:25 2011
New Revision: 175765

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175765
Log:
    PR c++/48593
    * pt.c (tsubst_qualified_id): Check PTRMEM_OK_P.
    * tree.c (build_qualified_name): Set PTRMEM_OK_P.
    * semantics.c (finish_parenthesized_expr): Clear PTRMEM_OK_P on
    SCOPE_REF, too.
    * cp-tree.h (PTRMEM_OK_P): Apply to SCOPE_REF, too.
    (QUALIFIED_NAME_IS_TEMPLATE): Switch to lang flag 1.

Added:
    trunk/gcc/testsuite/g++.dg/template/qualified-id4.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/semantics.c
    trunk/gcc/cp/tree.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to