[LLVMdev] bug? c backend produces code rejected by gcc4.0.1: array type has incomplete element type

Samuele Pedroni pedronis at strakt.com
Wed Sep 20 12:02:42 PDT 2006


Chris Lattner wrote:
> On Wed, 20 Sep 2006, Samuele Pedroni wrote:
>   
>> The C backend can currently (recent head) produce code with such patterns:
>> gcc 4.0.1 will reject this with
>> example.c:7: error: array type has incomplete element type
>>
>> this kind of code was accepted by previous versions of gcc as a fragile 
>> extension, but is no longer at least in 4.0.1 .
>>
>> is this known? should I file a bug?
>>     
>
> This looks like a bug, please file it (including the .ll file) in 
> bugzilla.
>
>   
done.

<http://llvm.org/bugs/show_bug.cgi?id=918>




More information about the llvm-dev mailing list