[cfe-commits] r114982 - in /cfe/trunk: include/clang/Parse/Parser.h include/clang/Sema/Sema.h lib/Parse/ParseDecl.cpp lib/Parse/ParseStmt.cpp lib/Parse/Parser.cpp lib/Sema/SemaDecl.cpp test/CodeGen/vla.c

Abramo Bagnara abramo.bagnara at gmail.com
Tue Sep 28 23:22:38 PDT 2010


Il 28/09/2010 22:42, Fariborz Jahanian ha scritto:
> Author: fjahanian
> Date: Tue Sep 28 15:42:35 2010
> New Revision: 114982
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=114982&view=rev
> Log:
> vla expressions used in __typeof__ must be evaluated.
> Fixes rdar://8476159.

Nice fix indeed!

If you are interested the same issue is present here:

void foo() {
  int x[] = { (char (*)[f()])0 };
}



More information about the cfe-commits mailing list