re PR target/88594 (ICE in int_mode_for_mode, at stor-layout.c:403)
authorJakub Jelinek <jakub@redhat.com>
Fri, 4 Jan 2019 09:00:05 +0000 (10:00 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 4 Jan 2019 09:00:05 +0000 (10:00 +0100)
commit9d3ac5e3dbd66b76cdbc13128d0991a5775a6d08
tree05287402ba554e6c439f8ac612f67170b9d725a3
parent80b23ae866d95a00e5e01edb7f3fc021c6c6caaa
re PR target/88594 (ICE in int_mode_for_mode, at stor-layout.c:403)

PR target/88594
* config/i386/i386.c (ix86_expand_divmod_libfunc): Use mode instead
of GET_MODE (opN) as modes of the libcall arguments.

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

From-SVN: r267571
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr88594.c [new file with mode: 0644]