r161562 - in /branches/gcc-4_4-branch/gcc: cp/C...
jason@gcc.gnu.org
jason@gcc.gnu.org
Tue Jun 29 19:30:00 GMT 2010
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
More information about the Gcc-cvs
mailing list