I prepared some files that should illustrate the problem: click
Struct Color is passed incorrectly to function in C library. I pass {1,2,3,4} but receive {1,0,0,0}.
It happens on Windows 7 64bit, but not on Linux Mint 64bit.
Using external LLVM to compile bitcode (on Windows) works too.