Re: [PATCH] Fold __builtin_memchr (simplified version 4)

2016-10-14 Thread Richard Biener
On Thu, Oct 13, 2016 at 5:26 PM, Martin Liška wrote: > 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

[PATCH] Fold __builtin_memchr (simplified version 4)

2016-10-13 Thread Martin Liška
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 >From