[Bug rtl-optimization/69886] ICE: in process_insert_insn, at gcse.c:1976 with --param=gcse-unrestricted-cost=0 @ aarch64
ktkachov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 24 13:00:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69886
--- Comment #3 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Wed Feb 24 13:00:10 2016
New Revision: 233662
URL: https://gcc.gnu.org/viewcvs?rev=233662&root=gcc&view=rev
Log:
[gcse] PR rtl-optimization/69886: Check target mode in
can_assign_to_reg_without_clobbers_p
PR rtl-optimization/69886
* gcse.c (can_assign_to_reg_without_clobbers_p): Accept mode
argument. Use it when checking validity of set instructions.
(want_to_gcse_p): Pass mode to can_assign_to_reg_without_clobbers_p.
(compute_ld_motion_mems): Update can_assign_to_reg_without_clobbers_p
callsite.
* rtl.h (can_assign_to_reg_without_clobbers_p): Update prototype.
* store-motion.c (find_moveable_store): Update
can_assign_to_reg_without_clobbers_p callsite.
* gcc.dg/torture/pr69886.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr69886.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gcse.c
trunk/gcc/rtl.h
trunk/gcc/store-motion.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list