[Tinycc-devel] C99 token pasting

2014-04-01 Thread Jay Foad
C99 specifies the behaviour of token pasting when either (or both) of the arguments to be pasted expand to an empty sequence of tokens. tcc doesn't seem to implement this: $ cat p.c #define P(A,B) A ## B bob #define Q(A,B) A ## B+ P(jim,) Q(+,) $ ./tcc -E p.c # 2 p.c p.c:3: warning: pasting jim

Re: [Tinycc-devel] Valgrind Inconsistency detected by ld.so: rtld.c:

2014-04-01 Thread Domingo Alvarez Duarte
Hello Daniel ! Just in case do you want to look at it too, I discovered other issue with sqlite3 compiled with tcc on arm, running the query bellow on sqlite3-gcc takes 1 second but doing the same on sqlite3-tcc takes for ever, if we remove the call to datetime and use only the field mtime the

[Tinycc-devel] Fwd: Bug#675024: tcc: errors Symbol `mpfr_xxx' causes overflow in R_X86_64_PC32 relocation

2014-04-01 Thread Thomas Preudhomme
Another report about the current state of shared libraries produced by tcc. Michael, I'm just copying it here because you asked. It's ok if you don't want or can't work on this. Best regards, Thomas Message original Objet: Bug#675024: tcc: errors Symbol `mpfr_xxx' causes

Re: [Tinycc-devel] improving get_tok_str

2014-04-01 Thread Thomas Preudhomme
Le 2014-03-31 23:46, mobi phil a écrit : Was not proposing to commit this into the main repo, just a very simple way to tag lines that probably need some more comments. The experts then just could do a diff and see those points, remove the tag and/or add comment. Oh you mean through another

Re: [Tinycc-devel] Valgrind Inconsistency detected by ld.so: rtld.c:

2014-04-01 Thread Thomas Preudhomme
Le 2014-04-01 19:53, Domingo Alvarez Duarte a écrit : Hello Daniel ! Hi Domingo, Just in case do you want to look at it too, I discovered other issue with sqlite3 compiled with tcc on arm, running the query bellow on sqlite3-gcc takes 1 second but doing the same on sqlite3-tcc takes for