[PATCH] Fold __builtin_memchr (simplified version 4)
Martin Liška
mliska@suse.cz
Thu Oct 13 15:26:00 GMT 2016
Simplified version that supports only valid null-terminated string constants.
Apart from that, I added checking for constant folding of expressions that
have side effects.
Patch can bootstrap on ppc64le-redhat-linux and survives regression tests.
Ready to be installed?
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Fold-__builtin_memchr-function-simplified.patch
Type: text/x-patch
Size: 8515 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20161013/f9e118a6/attachment.bin>
More information about the Gcc-patches
mailing list