[PATCH] Test folding of str{n}{case}cmp and memchr (version 3)

Martin Liška mliska@suse.cz
Wed Oct 12 13:20:00 GMT 2016


On 10/12/2016 10:34 AM, Richard Biener wrote:
> On Tue, Oct 11, 2016 at 11:38 AM, Martin Liška <mliska@suse.cz> wrote:
>> Third iteration of tests, where I added both GENERIC and GIMPLE folding
>> tests.
> 
> They should work already with -O1?

Yes, they work. Sending new version where I also added few situations
that trigger an undefined behavior (and should not be folded).

Martin

> 
> Otherwise ok.
> 
> Richard.
> 
>> Martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Test-folding-of-str-n-case-cmp-and-memchr-v4.patch
Type: text/x-patch
Size: 9061 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20161012/ded876d2/attachment.bin>


More information about the Gcc-patches mailing list