re PR rtl-optimization/92510 (ICE in native_encode_rtx, at simplify-rtx.c:6272)
authorJakub Jelinek <jakub@redhat.com>
Wed, 27 Nov 2019 16:32:54 +0000 (17:32 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 27 Nov 2019 16:32:54 +0000 (17:32 +0100)
commitfa21363375a2ff71ded325e6debe890e561a9743
treefd7d0c88c381c8f4da3f8cf88cdd0394a775f8fc
parent861d4af8d82819a857e360949545651adf33a264
re PR rtl-optimization/92510 (ICE in native_encode_rtx, at simplify-rtx.c:6272)

PR rtl-optimization/92510
* combine.c (gen_lowpart_for_combine): Only transform lowpart subreg
of comparison into a comparison with different mode if both imode and
omode are scalar integral modes.

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

From-SVN: r278777
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr92510.c [new file with mode: 0644]