re PR target/69071 (ICE: in decompose, at rtl.h:2107 with -g)
authorJakub Jelinek <jakub@redhat.com>
Mon, 11 Jan 2016 19:06:34 +0000 (20:06 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 11 Jan 2016 19:06:34 +0000 (20:06 +0100)
commit26ff85b0b9d79cbea0b75e727526d0dfbd4ec5dc
tree5195e2fe60e188551679f4ead3dad46223f49e16
parent655441d6015134c86c596ba28d079eb6c43b64bf
re PR target/69071 (ICE: in decompose, at rtl.h:2107 with -g)

PR target/69071
* lra-eliminations.c (move_plus_up): Only move plus up
if subreg of the constant can be simplified into constant
and use the simplified subreg of the constant instead of
the original constant.

* gcc.dg/pr69071.c: New test.

From-SVN: r232241
gcc/ChangeLog
gcc/lra-eliminations.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr69071.c [new file with mode: 0644]