[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;

[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 /tmp/c

Re: [CIL users] "0xffffffffffffffffULL" problem

2010-04-27 Thread Christoph Spiel
On Tue, Apr 27, 2010 at 11:15:14AM +0200, Dany Vereertbrugghen wrote: > Maybe it's because we're still on 1.3.6? Maybe, it is because I'm running a 64-bit system? Sorry, but I forgot to mention that in my initial post. /Chris -

Re: [CIL users] "0xffffffffffffffffULL" problem

2010-04-27 Thread Dany Vereertbrugghen
Maybe it's because we're still on 1.3.6? I didn't see this mentioned in the 1.3.6->1.3.7 change log. Thanks, Dany Christoph Spiel schreef: Hi Dany! On Tue, Apr 27, 2010 at 08:42:05AM +0200, Dany Vereertbrugghen wrote: We're currently running into a problem where CIL seems to transform

Re: [CIL users] "0xffffffffffffffffULL" problem

2010-04-27 Thread Christoph Spiel
Hi Dany! On Tue, Apr 27, 2010 at 08:42:05AM +0200, Dany Vereertbrugghen wrote: > We're currently running into a problem where CIL seems to transform > > (mainValue < (0xULL)/1000) > to > (mainValue < 0ULL) Excuse me, but I cannot reproduce your problem here. My "cil-c