Bug#653256: clang: defines __GNUC__ but does not support all built-in functions
brian m. carlson
sandals at crustytoothpaste.net
Tue Dec 27 19:12:45 UTC 2011
On Tue, Dec 27, 2011 at 07:48:45PM +0100, Sylvestre Ledru wrote:
> Le lundi 26 décembre 2011 à 01:01 +0000, brian m. carlson a écrit :
>
> > Please fix this, preferably by no longer #defining __GNUC__,
> Do you know where it is defined ?
tools/clang/lib/Frontend/InitPreprocessor.cpp:342
Note that a lot of stuff will blow up as a result, but it is the correct
fix.
> > implement all the GCC builtins correctly.
> Well, it is an upstream task. I can forward this wish if you want.
Please do. Once this is done, LLVM won't need to ship its own
intrinsics headers anymore because the GCC ones will work
automagically.
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20111227/680d1f74/attachment.pgp>
More information about the Pkg-llvm-team
mailing list