------- Comment #5 from jason at gcc dot gnu dot org  2010-06-29 19:30 -------
Subject: Bug 44587

Author: jason
Date: Tue Jun 29 19:30:29 2010
New Revision: 161562

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161562
Log:
        PR c++/44587
        * pt.c (has_value_dependent_address): New.
        (value_dependent_expression_p): Check it.
        (convert_nontype_argument): Likewise.  Call decay_conversion before
        folding if we want a pointer.
        * semantics.c (finish_id_expression): Don't add SCOPE_REF if the
        scope is the current instantiation.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/template/qualified-id2.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/template/qualified-id3.C
Modified:
    branches/gcc-4_4-branch/gcc/cp/ChangeLog
    branches/gcc-4_4-branch/gcc/cp/pt.c
    branches/gcc-4_4-branch/gcc/cp/semantics.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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

Reply via email to