[C++ Patch] PR 53003

Paolo Carlini paolo.carlini@oracle.com
Tue Apr 17 15:41:00 GMT 2012


On 04/17/2012 03:55 PM, Jason Merrill wrote:
> I have various thoughts:
>
> It's odd that we still treat 'return' as starting a function body long 
> after we removed that extension.
>
> Maybe we shouldn't look for a function body if we already have an 
> initializer and aren't dealing with a function declarator.
>
> I guess we should set initializer_token_start for {} initializers as 
> well.
>
> But your patch is certainly the smallest change, and OK.
Thanks. Thus let's say I apply the very safe patchlet to mainline and 
branch and then, when time allows, I'll try and see if I clean up a bit 
mainline in this area.

Thanks,
Paolo.



More information about the Gcc-patches mailing list