http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57569
--- Comment #7 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Author: wschmidt Date: Mon Mar 17 15:31:43 2014 New Revision: 208620 URL: http://gcc.gnu.org/viewcvs?rev=208620&root=gcc&view=rev Log: gcc/ 2014-03-17 Mikael Pettersson <mikpeli...@gmail.com> Committed by Bill Schmidt <wschm...@linux.vnet.ibm.com> Backport from mainline: 2013-06-20 Joern Rennecke <joern.renne...@embecosm.com> PR rtl-optimization/57425 PR rtl-optimization/57569 * alias.c (write_dependence_p): Remove parameters mem_mode and canon_mem_addr. Add parameters x_mode, x_addr and x_canonicalized. Changed all callers. (canon_anti_dependence): Get comments and semantics in sync. Add parameter mem_canonicalized. Changed all callers. * rtl.h (canon_anti_dependence): Update prototype. 2013-06-16 Joern Rennecke <joern.renne...@embecosm.com> PR rtl-optimization/57425 PR rtl-optimization/57569 * alias.c (write_dependence_p): Add new parameters mem_mode, canon_mem_addr and mem_canonicalized. Change type of writep to bool. Changed all callers. (canon_anti_dependence): New function. * cse.c (check_dependence): Use canon_anti_dependence. * cselib.c (cselib_invalidate_mem): Likewise. * rtl.h (canon_anti_dependence): Declare. gcc/testsuite/ 2014-03-17 Mikael Pettersson <mikpeli...@gmail.com> Committed by Bill Schmidt <wschm...@linux.vnet.ibm.com> Backport from mainline: 2013-06-16 Joern Rennecke <joern.renne...@embecosm.com> PR rtl-optimization/57425 PR rtl-optimization/57569 * gcc.dg/torture/pr57425-1.c, gcc.dg/torture/pr57425-2.c: New files. * gcc.dg/torture/pr57425-3.c, gcc.dg/torture/pr57569.c: Likewise. Added: branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/torture/pr57425-1.c branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/torture/pr57425-2.c branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/torture/pr57425-3.c branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/torture/pr57569.c Modified: branches/gcc-4_8-branch/gcc/ChangeLog branches/gcc-4_8-branch/gcc/alias.c branches/gcc-4_8-branch/gcc/cse.c branches/gcc-4_8-branch/gcc/cselib.c branches/gcc-4_8-branch/gcc/rtl.h branches/gcc-4_8-branch/gcc/testsuite/ChangeLog