]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/39070 (ICE with typeof() (... and __decltype))
authorJason Merrill <jason@gcc.gnu.org>
Fri, 13 Feb 2009 21:53:38 +0000 (16:53 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 13 Feb 2009 21:53:38 +0000 (16:53 -0500)
commitcf6a09126b25c19c58aaa9f227613ad445777807
tree367c8a6113006c92d8c7c9309b3a3d67cb99ebd6
parent02ba89f5f489b763111f168c12fbdb3868cd5524
re PR c++/39070 (ICE with typeof() (... and __decltype))

        PR c++/39070
        * semantics.c (finish_call_expr): Change koenig_p parm to int.
        If -1, don't set KOENIG_LOOKUP_P but do keep hidden candidates.
        * cp-tree.h: Adjust prototype.
        * pt.c (tsubst_copy_and_build) [CALL_EXPR]: Pass -1.

From-SVN: r144166
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/decltype16.C [new file with mode: 0644]