[Bug rtl-optimization/62004] dead type-unsafe load replaces type-safe load
vries at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 15 21:24:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62004
--- Comment #6 from vries at gcc dot gnu.org ---
Author: vries
Date: Fri Aug 15 21:23:21 2014
New Revision: 214044
URL: https://gcc.gnu.org/viewcvs?rev=214044&root=gcc&view=rev
Log:
Fix if-conversion pass for dead type-unsafe code
2014-08-15 Tom de Vries <tom@codesourcery.com>
Backport from mainline:
2014-08-14 Tom de Vries <tom@codesourcery.com>
PR rtl-optimization/62004
PR rtl-optimization/62030
* ifcvt.c (rtx_interchangeable_p): New function.
(noce_try_move, noce_process_if_block): Use rtx_interchangeable_p.
* gcc.dg/pr62004.c: New test.
* gcc.dg/pr62030.c: Same.
* gcc.target/mips/pr62030-octeon.c: Same.
2014-08-05 Richard Biener <rguenther@suse.de>
* emit-rtl.h (mem_attrs_eq_p): Declare.
* emit-rtl.c (mem_attrs_eq_p): Export.
Added:
branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/pr62004.c
branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/pr62030.c
branches/gcc-4_9-branch/gcc/testsuite/gcc.target/mips/pr62030-octeon.c
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/emit-rtl.c
branches/gcc-4_9-branch/gcc/emit-rtl.h
branches/gcc-4_9-branch/gcc/ifcvt.c
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list