[cfe-dev] Clang bug dealing with fixed size global arrays

Oliver Hunt oliver at apple.com
Thu Nov 22 15:36:05 PST 2007


There are cases where clang incorrectly reports constant initalisers  
as being not constant.
I've attached a test case which should pass semantic analysis but  
currently does not.

It won't compile as we don't support complex global initalisers yet --  
that's what i'm working on, and thus why i found this :D

-------------- next part --------------
A non-text attachment was scrubbed...
Name: simpleTest.c
Type: application/octet-stream
Size: 66 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20071122/bc84f137/attachment.obj>
-------------- next part --------------


--Oliver



More information about the cfe-dev mailing list