]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/39070 (ICE with typeof() (... and __decltype))
authorJason Merrill <jason@redhat.com>
Fri, 13 Feb 2009 19:14:07 +0000 (14:14 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 13 Feb 2009 19:14:07 +0000 (14:14 -0500)
commitda964feac45702899e5e8cfffb0d78bdb5759b80
tree1f92e7ac9446a8e08a82c60275545cd2748fd81d
parentc2e7ba7e3a035ea6b6609a09d3a5b7061563c2ae
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: r144161
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]