https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88594
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Jan 8 10:33:23 2019 New Revision: 267719 URL: https://gcc.gnu.org/viewcvs?rev=267719&root=gcc&view=rev Log: Backported from mainline 2019-01-04 Jakub Jelinek <ja...@redhat.com> 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. Added: branches/gcc-8-branch/gcc/testsuite/gcc.dg/pr88594.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/config/i386/i386.c branches/gcc-8-branch/gcc/testsuite/ChangeLog