re PR rtl-optimization/78437 (invalid sign-extend conversion in REE pass)
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 24 Nov 2016 15:01:32 +0000 (15:01 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 24 Nov 2016 15:01:32 +0000 (15:01 +0000)
commit4da41abf84cc6796aa8b3ae38402ff7544dfc8d3
tree5af5792fbbe2403186385fd0151819ac9a1dc7e4
parent0d56d3c17b709688ec817372311cde1cc445ae4b
re PR rtl-optimization/78437 (invalid sign-extend conversion in REE pass)

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.

From-SVN: r242839
gcc/ChangeLog
gcc/ree.c