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

Eli Friedman eli.friedman at gmail.com
Sat Dec 20 12:27:57 PST 2008


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?

-Eli



More information about the cfe-commits mailing list