re PR debug/69244 (ICE in plus_constant, at explow.c:87 on i686-linux-gnu)
authorJakub Jelinek <jakub@redhat.com>
Thu, 14 Jan 2016 19:57:34 +0000 (20:57 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 14 Jan 2016 19:57:34 +0000 (20:57 +0100)
commitcd65ae907103641c8581f1dc9b0b1803979637cb
tree44b2a76497314422635589c03b12410b25351368
parent19643948dbeafd5444ba3059c1eef813ecd6e4ed
re PR debug/69244 (ICE in plus_constant, at explow.c:87 on i686-linux-gnu)

PR debug/69244
* lra-eliminations.c (move_plus_up): Don't change anything if either
the outer or inner subreg mode is not MODE_INT.
* dwarf2out.c (mem_loc_descriptor): For SUBREG, if outer mode is
integral <= DWARF2_ADDR_SIZE, convert to untyped afterwards.

* gcc.dg/guality/pr69244.c: New test.

From-SVN: r232382
gcc/ChangeLog
gcc/dwarf2out.c
gcc/lra-eliminations.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/guality/pr69244.c [new file with mode: 0644]