re PR target/89945 (ICE in gen_lowpart_general, at rtlhooks.c:63)
authorUros Bizjak <ubizjak@gmail.com>
Sun, 7 Apr 2019 19:19:08 +0000 (21:19 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Sun, 7 Apr 2019 19:19:08 +0000 (21:19 +0200)
commit45acde2fe01cea0e2e11dda9d336133c5b526f6d
treee771bf5e6053a0f5b14386c4506d2185c3b74f13
parent6d31ef2ab12c76dfd72c44c1833fcaf1720b724b
re PR target/89945 (ICE in gen_lowpart_general, at rtlhooks.c:63)

PR target/89945
* config/i386/i386.md (anddi_1 to andsi_1_zext splitter):
Avoid calling gen_lowpart with SYMBOL_REF and LABEL_REF operand.

testsuite/ChangeLog:

PR target/89945
* gcc.target/i386/pr89945.c: New test.

From-SVN: r270190
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr89945.c [new file with mode: 0644]