------- Comment #13 from jason at gcc dot gnu dot org 2009-04-02 18:38 ------- Subject: Bug 38030
Author: jason Date: Thu Apr 2 18:37:57 2009 New Revision: 145468 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145468 Log: * mangle.c (write_expression): Mangle dependent name as source-name. PR c++/38030, 38850, 39070 * pt.c (type_dependent_expression_p_push): New fn. (tsubst_copy_and_build) [CALL_EXPR]: Only do arg-dep lookup when the substitution makes the call non-dependent. Preserve koenig_p. * parser.c (cp_parser_postfix_expression): Only do arg-dep lookup for non-dependent calls. * semantics.c (finish_call_expr): Revert earlier changes. * cp-tree.h: Revert change to finish_call_expr prototype. Modified: branches/gcc-4_4-branch/gcc/cp/ChangeLog branches/gcc-4_4-branch/gcc/cp/cp-tree.h branches/gcc-4_4-branch/gcc/cp/mangle.c branches/gcc-4_4-branch/gcc/cp/parser.c 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 branches/gcc-4_4-branch/gcc/testsuite/g++.dg/cpp0x/auto12.C branches/gcc-4_4-branch/gcc/testsuite/g++.dg/cpp0x/auto6.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38030