[CIL users] Local typedef and old-style function argument declarations: error on name conflicts?

2010-04-27 Thread Wei Hu
CIL failed to parse SPEC CPU 2006 403.gcc benchmark: cilly -c -o c-common.o -DSPEC_CPU -DNDEBUG -I. -O0 c-common.c gcc -D_GNUCC -E -DSPEC_CPU -DNDEBUG -I. -O0 -DCIL=1 c-common.c -o /tmp/cil-QEu7J5vy.i /home/wh5a/cil/obj/x86_LINUX/cilly.byte.exe --out /tmp/cil-aQStSCFi.cil.c

[CIL users] C99 complex support?

2010-04-27 Thread Wei Hu
Does anyone have a patch for complex support? I searched in my mail archive and found Kristis Makris's patch for _Bool support. I guess a similar patch shouldn't be too hard, but wanted to see if anyone already had one. A simple test case is as follows: int main() { double _Complex a; return 0;

Re: [CIL users] ?: with no side-effects

2011-01-20 Thread Wei Hu
Did you forget to attach the patch? On Thu, Jan 20, 2011 at 4:41 PM, Elnatan Reisner elna...@cs.umd.edu wrote: A '?:' expression, when occurring as a standalone statement, gets expanded into an 'if' statement, even if there are no side-effects in either branch. This patch fixes that by simply