[cfe-commits] r61283 - in /cfe/trunk: lib/CodeGen/CGDecl.cpp lib/CodeGen/CGStmt.cpp test/CodeGen/unsupported.c

Anders Carlsson andersca at mac.com
Sat Dec 20 12:31:49 PST 2008


20 dec 2008 kl. 12.27 skrev Eli Friedman:

> On Sat, Dec 20, 2008 at 11:33 AM, Anders Carlsson <andersca at mac.com>  
> wrote:
>> +  if (StackSaveValues.back()) {
>> +    CGM.ErrorUnsupported(&S, "goto inside scope with VLA");
>> +    return;
>> +  }
>
> Is this check really complete?  Don't we really want to know whether
> there any VLA scopes, rather than whether the top scope is a VLA
> scope?
>

Good point :) Will check in a fix shortly

Anders




More information about the cfe-commits mailing list