Re: [Tinycc-devel] TCC produced wrong code (yarpgen v1)

2023-03-08 Thread Domingo Alvarez Duarte
Sorry ! It was my fault I was testing with a not mob tinycc, using mob the failed example I've showed before doesn't happen. Cheers ! On 8/3/23 12:02, Domingo Alvarez Duarte wrote: Using this script: yarpgen --std=c #../c2m driver.c func.c -ei gcc -o ygcc driver.c func.c && ./ygcc

Re: [Tinycc-devel] TCC produced wrong code (yarpgen v1)

2023-03-08 Thread Domingo Alvarez Duarte
Using this script: yarpgen --std=c #../c2m driver.c func.c -ei gcc -o ygcc driver.c func.c && ./ygcc tinycc-env tcc -o ytcc driver.c func.c && ./ytcc It gives different result than gcc after 4 trials: check-it.sh /*SEED 2003917550*/ 5782830862525388415 1507557374623343254

Re: [Tinycc-devel] TCC produced wrong code (yarpgen v1)

2023-03-07 Thread Michael Matz
Hey, On Sat, 18 Feb 2023, wine@web.de wrote: While trying yarpgen (v1 branch of github.com/intel/yarpgen ), various test files compiled with tcc (x86_64@linux) produce a wrong result. I compared the first failed program with gcc and found an "if" section in the example code, where the