]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/38030, 38850, 39070
authorJason Merrill <jason@redhat.com>
Tue, 31 Mar 2009 15:42:58 +0000 (11:42 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 31 Mar 2009 15:42:58 +0000 (11:42 -0400)
commit5094a79562001af5ef0d636b0437693703ac4a2b
tree47283351c04c112dfc987416701a7716f3f42000
parent60081874a02512aa6ed5958953f65d47aeff3325
PR c++/38030, 38850, 39070

        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.

From-SVN: r145360
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/parser.c
gcc/cp/pt.c
gcc/cp/semantics.c