[cfe-dev] Clang bug with C99 array as parameter

Mark Bertsch bertsch at iss.rwth-aachen.de
Mon Aug 9 04:56:42 PDT 2010


John McCall wrote:
> On Aug 3, 2010, at 4:49 AM, Mark Bertsch wrote:
>> I do not know if this bug is already known:
>> With clang trunk (r110038) the following call fails:
>> clang test.c
>>
>> with test.c:
>> void function(short width, int data[][width]) {}
>> void test() {
>>     function(1, 0);
>> }
> 
> Very interesting!  I looked into it, and there isn't a quick fix.  Please file a bug.
> 
> John.

(again for everybody:)

Ok, filed as:
http://llvm.org/bugs/show_bug.cgi?id=7827

Mark



More information about the cfe-dev mailing list