[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

jahanian fjahanian at apple.com
Wed Sep 29 09:31:00 PDT 2010


On Sep 28, 2010, at 11:22 PM, Abramo Bagnara wrote:

> 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:
Sure. Please file a bugzila so I won't lose it.

- Fariborz

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




More information about the cfe-commits mailing list