[Bug target/79449] ppc builtin expansion of strncmp can cross page (4k) boundary where it should not
acsawdey at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 13 16:01:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79449
--- Comment #1 from acsawdey at gcc dot gnu.org ---
Author: acsawdey
Date: Mon Feb 13 16:00:22 2017
New Revision: 245392
URL: https://gcc.gnu.org/viewcvs?rev=245392&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gcc.dg/strncmp-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/rs6000/rs6000.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list