re PR target/91931 (ICE in decompose, at rtl.h:2277)

PR target/91931
	* config/i386/i386-expand.c (ix86_expand_adjust_ufix_to_sfix_si): Use
	gen_int_mode instead of GEN_INT.

	* gcc.target/i386/pr91931.c: New test.

From-SVN: r276294
This commit is contained in:
Jakub Jelinek 2019-09-30 09:26:58 +02:00
parent 65403f15ec
commit 6a556ba414
4 changed files with 18 additions and 2 deletions

View File

@ -1,6 +1,12 @@
2019-09-30 Jakub Jelinek <jakub@redhat.com>
PR target/91931
* config/i386/i386-expand.c (ix86_expand_adjust_ufix_to_sfix_si): Use
gen_int_mode instead of GEN_INT.
2019-09-29 Iain Sandoe <iain@sandoe.co.uk>
* config/darwin.c (gen_macho_low):Amend to include the mode
* config/darwin.c (gen_macho_low): Amend to include the mode
argument.
(machopic_indirect_data_reference): Amend gen_macho_low call
to include mode argument

View File

@ -1694,7 +1694,7 @@ ix86_expand_adjust_ufix_to_sfix_si (rtx val, rtx *xorp)
OPTAB_DIRECT);
else
{
rtx two31 = GEN_INT (HOST_WIDE_INT_1U << 31);
rtx two31 = gen_int_mode (HOST_WIDE_INT_1U << 31, SImode);
two31 = ix86_build_const_vector (intmode, 1, two31);
*xorp = expand_simple_binop (intmode, AND,
gen_lowpart (intmode, tmp[0]),

View File

@ -1,3 +1,8 @@
2019-09-30 Jakub Jelinek <jakub@redhat.com>
PR target/91931
* gcc.target/i386/pr91931.c: New test.
2019-09-29 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/91641

View File

@ -0,0 +1,5 @@
/* PR target/91931 */
/* { dg-do compile } */
/* { dg-options "-O1 -ftree-loop-vectorize -mavx -mno-avx2" } */
#include "../../gcc.dg/vect/pr32216.c"