gcc/
authorolegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Dec 2014 06:50:06 +0000 (06:50 +0000)
committerolegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Dec 2014 06:50:06 +0000 (06:50 +0000)
commit2128438a028259cc73354492567326d86a1e6273
tree0957f6d2755068f1e1ddc55033246c83b34176e8
parent9782d5568badba2d7e125ad41f2c28254922bff4
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218200 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/sh/sh.c