[Bug rtl-optimization/58365] [4.7/4.8/4.9 Regression] likely wrong code bug

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 10 11:48:00 GMT 2013


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

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Sep 10 11:48:30 2013
New Revision: 202435

URL: http://gcc.gnu.org/viewcvs?rev=202435&root=gcc&view=rev
Log:
    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_8-branch/gcc/testsuite/gcc.c-torture/execute/pr58365.c
Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/cfgcleanup.c
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list