http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58365

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed May  7 16:04:44 2014
New Revision: 210173

URL: http://gcc.gnu.org/viewcvs?rev=210173&root=gcc&view=rev
Log:
    Backported from mainline
    2013-09-10  Jakub Jelinek  <ja...@redhat.com>

    PR rtl-optimization/58365
    * cfgcleanup.c (merge_memattrs): Also clear MEM_READONLY_P
    resp. MEM_NOTRAP_P if they differ, or set MEM_VOLATILE_P if
    it differs.

    * gcc.c-torture/execute/pr58365.c: New test.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/gcc.c-torture/execute/pr58365.c
Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/cfgcleanup.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog

Reply via email to