|Subject:||Re: [Tinycc-devel] __builtin_expect|
|Date:||Fri, 25 May 2012 22:57:54 +0200|
|User-agent:||KMail/1.13.7 (Linux/3.2.0-2-amd64; KDE/4.7.4; x86_64; ; )|
Le vendredi 25 mai 2012 20:48:44, Thomas Preud'homme a écrit :
> Greetings everyone,
> it seems the define for pthread_cleanup_push in glibc uses __builtin_expect
> if it's not compiled with gcc. Hence, any program including pthread.h
> fails to compile with tcc. Should we ignore __builtin_expect in tcc or
> bother glibc developers to special case tcc?
A way of ignoring __builtin_expect in very few lines:
tcc_define_symbol(s, "__builtin_expect(exp,c)", "exp");
> Best regards,
> Thomas Preud'homme
Description: This is a digitally signed message part.
|[Prev in Thread]||Current Thread||[Next in Thread]|