re PR target/63986 ([SH] gcc.target/sh/pr51244-15.c failures)
authorOleg Endo <olegendo@gcc.gnu.org>
Mon, 1 Dec 2014 06:50:06 +0000 (06:50 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Mon, 1 Dec 2014 06:50:06 +0000 (06:50 +0000)
commit9270a54f3841ab4a3b0facd6e23d7b3063a30fbe
tree0957f6d2755068f1e1ddc55033246c83b34176e8
parent975fbd84776bc813d2c6cc020682b1e692400d38
re PR target/63986 ([SH] gcc.target/sh/pr51244-15.c failures)

gcc/
PR target/63986
PR target/51244
* config/sh/sh.c (sh_unspec_insn_p,
sh_insn_operands_modified_between_p): New functions.
(sh_split_movrt_negc_to_movt_xor): Do not delete insn if its operands
are modified or if it has side effects, may trap or is volatile.

From-SVN: r218200
gcc/ChangeLog
gcc/config/sh/sh.c