This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH] Fix decltype for calls to function pointers, references


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]