[Bug middle-end/71874] [4.9 Regression] memmove works wrong
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 19 17:43:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71874
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jul 19 17:42:26 2016
New Revision: 238487
URL: https://gcc.gnu.org/viewcvs?rev=238487&root=gcc&view=rev
Log:
PR middle-end/71874
* builtins.c (fold_builtin_memory_op): Use
get_addr_base_and_unit_offset instead of get_ref_base_and_extent.
* g++.dg/torture/pr71874.C: New test.
Added:
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/torture/pr71874.C
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/builtins.c
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list