This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/71874] [4.9 Regression] memmove works wrong


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71874

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jul 19 17:39:26 2016
New Revision: 238486

URL: https://gcc.gnu.org/viewcvs?rev=238486&root=gcc&view=rev
Log:
        PR middle-end/71874
        * gimple-fold.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-5-branch/gcc/testsuite/g++.dg/torture/pr71874.C
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/gimple-fold.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]