OK, thanks.

Jason


On Fri, May 27, 2016 at 10:43 AM, Ville Voutilainen
<ville.voutilai...@gmail.com> wrote:
> On 20 May 2016 at 07:05, Ville Voutilainen <ville.voutilai...@gmail.com> 
> wrote:
>> On 19 May 2016 at 19:40, Jason Merrill <ja...@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?

Reply via email to