<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>Hello,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I would like to ask the llvm developers to have a look at <A href="http://llvm.org/bugs/show_bug.cgi?id=918">http://llvm.org/bugs/show_bug.cgi?id=918</A> .</DIV><DIV>This bug has been reported 4 month ago but is none the less a somewhat serious one.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Below I have pasted the test case and output of the issue running on my ppc machine.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>thank you</DIV><DIV>Eric</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>pb:~ eric$ cat testme.ll;llvm-as -f testme.ll;llc -march=c -f testme.bc;gcc -c testme.cbe.c ;gcc --version;llc --version</DIV><DIV>%structtype_s = type { i32 }</DIV><DIV>%fixarray_array3 = type [3 x %structtype_s]</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>define i32 %witness(%fixarray_array3* %p) {</DIV><DIV>    %q = getelementptr %fixarray_array3* %p, i32 0, i32 0, i32 0</DIV><DIV>    %v = load i32* %q</DIV><DIV>    ret i32 %v</DIV><DIV>}</DIV><DIV><B>testme.cbe.c:106: error: array type has incomplete element type</B></DIV><DIV>testme.cbe.c:119: warning: conflicting types for built-in function 'malloc'</DIV><DIV>powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 (Apple Computer, Inc. build 5026)</DIV><DIV>Copyright (C) 2005 Free Software Foundation, Inc.</DIV><DIV>This is free software; see the source for copying conditions.  There is NO</DIV><DIV>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Low Level Virtual Machine (<A href="http://llvm.org">http://llvm.org</A>/):</DIV><DIV>  llvm version 2.0cvs</DIV><DIV>  Optimized build with assertions.</DIV><DIV>pb:~ eric$ </DIV></BODY></HTML>