re PR middle-end/85414 (ICE: in ix86_expand_prologue, at config/i386/i386.c:13810...
authorJakub Jelinek <jakub@redhat.com>
Tue, 17 Apr 2018 09:16:48 +0000 (11:16 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 17 Apr 2018 09:16:48 +0000 (11:16 +0200)
commit50ffe7adc0d686e9f193c4e53ea2f0d617309f35
tree3afce06c88ff6ba31c34a8e72d514a9a1d9bb56a
parent5bf31c642ec176701629edc19504b79be3c12ee5
re PR middle-end/85414 (ICE: in ix86_expand_prologue, at config/i386/i386.c:13810 with -Og -fgcse)

PR middle-end/85414
* rtlhooks.c (gen_lowpart_if_possible): Don't call gen_lowpart_SUBREG
on a SUBREG.

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

From-SVN: r259433
gcc/ChangeLog
gcc/rtlhooks.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr85414.c [new file with mode: 0644]