re PR target/79449 (ppc builtin expansion of strncmp can cross page (4k) boundary...
authorAaron Sawdey <acsawdey@linux.vnet.ibm.com>
Mon, 13 Feb 2017 16:00:22 +0000 (16:00 +0000)
committerAaron Sawdey <acsawdey@gcc.gnu.org>
Mon, 13 Feb 2017 16:00:22 +0000 (10:00 -0600)
commit8d6427c6ddefb12bf5656e8938f8055a1201650a
tree142217a485e81ca4cb3cac2f51a3b9ed1cb7dd8f
parent550e2205cc42e5ca9906c81cbe4c3c4bc285fd5e
re PR target/79449 (ppc builtin expansion of strncmp can cross page (4k) boundary where it should not)

2017-02-13  Aaron Sawdey  <acsawdey@linux.vnet.ibm.com>

PR target/79449
* gcc.dg/strncmp-2.c: New.  Test strncmp and memcmp builtin expansion
for reading beyond a 4k boundary.

2017-02-13  Aaron Sawdey  <acsawdey@linux.vnet.ibm.com>

PR target/79449
* config/rs6000/rs6000.c (expand_block_compare): Make sure runtime
boundary crossing check and subsequent code generation agree.

From-SVN: r245392
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/strncmp-2.c [new file with mode: 0644]