PR rtl-optimization/78437
commit109508ee2e237c4a8da88cda9bc945c1721c10be
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Nov 2016 15:01:32 +0000 (24 15:01 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Nov 2016 15:01:32 +0000 (24 15:01 +0000)
tree5af5792fbbe2403186385fd0151819ac9a1dc7e4
parent836ac9e8e20bc63ac86377c3f191117e6f9a1e5e
PR rtl-optimization/78437
* ree.c (get_uses): New function.
(combine_reaching_defs): When a copy is needed, return false if any
reaching use of the source register reads it in a mode larger than
the mode it is set in and WORD_REGISTER_OPERATIONS is true.

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