[PATCH] c/66516 - missing diagnostic on taking the address of a builtin function

Martin Sebor msebor@gmail.com
Mon Jun 29 07:37:00 GMT 2015


Attached is a rewrite of the patch to enforce that GCC builtin
functions with no library equivalents are only used to make
calls or cast to void (or in sizeof and _Alignof expressions
as a GCC extension). This version of the patch also addresses
the requests made in responses to the first patch.

Bootstrapped and tested on x86_64-unknown-linux-gnu.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-66516.patch
Type: text/x-patch
Size: 30553 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150629/d546774e/attachment.bin>


More information about the Gcc-patches mailing list