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 c++/69855


OK, thanks.

Jason


On Fri, May 27, 2016 at 10:43 AM, Ville Voutilainen
<ville.voutilainen@gmail.com> wrote:
> On 20 May 2016 at 07:05, Ville Voutilainen <ville.voutilainen@gmail.com> wrote:
>> On 19 May 2016 at 19:40, Jason Merrill <jason@redhat.com> wrote:
>>> Any thoughts on doing something similar for extern variable declarations?
>>
>> Ah, we diagnose local extern variable declarations that clash with
>> previous declarations,
>> but we don't diagnose cases where a subsequent declaration clashes
>> with a previous
>> local extern declaration. I'll take a look.
>
> As discussed on irc, this requires teaching variable declarations to
> work with DECL_ANTICIPATED
> and is thus some amounts of surgery, so the recommendation was to go
> ahead with this patch.
> I added a comment to the new code block, an updated patch attached.
> Changelog as before.
> Ok for trunk?


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