[cfe-commits] r129896 - in /cfe/trunk: include/clang/AST/Expr.h lib/AST/Expr.cpp lib/AST/ExprConstant.cpp lib/CodeGen/CGExprAgg.cpp lib/CodeGen/CGExprConstant.cpp lib/Sema/SemaInit.cpp lib/Serialization/ASTReaderStmt.cpp lib/Serialization/ASTWriterStmt.cpp test/Index/initializer-memory.cpp
Johannes Schaub (litb)
schaub.johannes at googlemail.com
Thu Apr 21 10:27:22 PDT 2011
Argyrios Kyrtzidis wrote:
> Author: akirtzidis
> Date: Wed Apr 20 19:27:41 2011
> New Revision: 129896
>
> URL: http://llvm.org/viewvc/llvm-project?rev=129896&view=rev
> Log:
> For
>
> double data[20000000] = {0};
>
> we would blow out the memory by creating 20M Exprs to fill out the
> initializer.
>
Does this fix designated initializer blowup too?
double data[20000000] = { [19999999] = 1 };
Thanks.
More information about the cfe-commits
mailing list