This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/39070] [4.3/4.4 regression] ICE with typeof() (... and __decltype)
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Feb 2009 21:53:57 -0000
- Subject: [Bug c++/39070] [4.3/4.4 regression] ICE with typeof() (... and __decltype)
- References: <bug-39070-17259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from jason at gcc dot gnu dot org 2009-02-13 21:53 -------
Subject: Bug 39070
Author: jason
Date: Fri Feb 13 21:53:38 2009
New Revision: 144166
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144166
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:
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/cpp0x/decltype16.C
- copied unchanged from r144161,
trunk/gcc/testsuite/g++.dg/cpp0x/decltype16.C
Modified:
branches/gcc-4_3-branch/gcc/cp/ChangeLog
branches/gcc-4_3-branch/gcc/cp/cp-tree.h
branches/gcc-4_3-branch/gcc/cp/pt.c
branches/gcc-4_3-branch/gcc/cp/semantics.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39070