re PR target/93110 (grub-2.04/grub-core/lib/division.c:28:1: internal compiler error...
authorJakub Jelinek <jakub@redhat.com>
Fri, 3 Jan 2020 10:11:17 +0000 (11:11 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 3 Jan 2020 10:11:17 +0000 (11:11 +0100)
commit5499c8628ac3ab7baa673013c7dacd4a03fbb0d6
tree87201badb622546ec083b51e181d286014777b65
parent5a6e28b5bae7a236b35994d0f64fd902a574872c
re PR target/93110 (grub-2.04/grub-core/lib/division.c:28:1: internal compiler error: in extract_insn, at recog.c:2294)

PR target/93110
* config/i386/i386.md (abs<mode>2): Use expand_simple_binop instead of
emitting ASHIFTRT, XOR and MINUS by hand.  Use gen_int_mode with QImode
instead of gen_int_shift_amount + convert_modes.

* gcc.dg/torture/pr93110.c: New test.

From-SVN: r279855
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr93110.c [new file with mode: 0644]