This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Fix decltype for calls to function pointers, references
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: "Doug Gregor" <doug dot gregor at gmail dot com>
- Cc: "Gcc Patch List" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 7 Aug 2008 10:18:17 -0700
- Subject: Re: [C++ PATCH] Fix decltype for calls to function pointers, references
- References: <24b520d20807141225o1940e90dy96fedf4b5fdaad02@mail.gmail.com>
On Mon, Jul 14, 2008 at 12:25 PM, Doug Gregor <doug.gregor@gmail.com> wrote:
> This little patch corrects the result of decltype when applied to a
> call to a function pointer, function reference, or member function
> pointer.
>
> Okay for mainline and 4.3?
>
> - Doug
>
> 2008-07-14 Douglas Gregor <doug.gregor@gmail.com>
>
> * g++.dg/cpp0x/decltype12.C: New.
>
Hi,
It breaks bootstrap:
cc1: warnings being treated as errors
../../src/gcc/cp/semantics.c: In function âfinish_decltype_typeâ:
../../src/gcc/cp/semantics.c:4478: error: âtypeâ may be used
uninitialized in this function
--
H.J.