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] PR 53003


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.


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