[cfe-commits] r128208 - in /cfe/trunk: lib/Sema/IdentifierResolver.cpp test/SemaCXX/goto.cpp test/SemaCXX/goto2.cpp

Douglas Gregor dgregor at apple.com
Thu Mar 24 08:10:43 PDT 2011


On Mar 24, 2011, at 2:05 PM, Benjamin Kramer wrote:

> 
> On 24.03.2011, at 11:35, Douglas Gregor wrote:
> 
>> Author: dgregor
>> Date: Thu Mar 24 05:35:39 2011
>> New Revision: 128208
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=128208&view=rev
>> Log:
>> Fix the insertion of label declarations into the identifier chain in
>> the case where we only have a single identifier with that name in the
>> chain. Fixes PR9463 for real this time.
> 
> Hi Doug,
> 
> Looks like this commit broke selfhost. Reduced testcase:
> 
> $ cat t.cc
> extern "C" { void label(); };
> 
> int bar();
> 
> void foo() { 
>  goto label;
> label:
>  int t = bar();
> }


Fixed in r128210, thanks!

	- Doug



More information about the cfe-commits mailing list