[Bug c++/39070] [4.3/4.4 regression] ICE with typeof() (... and __decltype)

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Feb 13 19:14:00 GMT 2009



------- Comment #7 from jason at gcc dot gnu dot org  2009-02-13 19:14 -------
Subject: Bug 39070

Author: jason
Date: Fri Feb 13 19:14:07 2009
New Revision: 144161

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144161
Log:
        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.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/decltype16.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39070



More information about the Gcc-bugs mailing list