]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/38030, 38850, 39070
authorJason Merrill <jason@redhat.com>
Fri, 3 Apr 2009 18:04:39 +0000 (14:04 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 3 Apr 2009 18:04:39 +0000 (14:04 -0400)
commitfaa976e30b0bd8e23afa700d144955a541ec14bc
treefaba7d4f008b83a4a9d48f573c5412b32bbde9f3
parenta5d05a6503b127517c33387ea242bbe1974524a2
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: r145511
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/parser.c
gcc/cp/pt.c
gcc/cp/semantics.c