Commit 6a556ba4 by Jakub Jelinek

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
parent 65403f15
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> 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. argument.
(machopic_indirect_data_reference): Amend gen_macho_low call (machopic_indirect_data_reference): Amend gen_macho_low call
to include mode argument to include mode argument
......
...@@ -1694,7 +1694,7 @@ ix86_expand_adjust_ufix_to_sfix_si (rtx val, rtx *xorp) ...@@ -1694,7 +1694,7 @@ ix86_expand_adjust_ufix_to_sfix_si (rtx val, rtx *xorp)
OPTAB_DIRECT); OPTAB_DIRECT);
else 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); two31 = ix86_build_const_vector (intmode, 1, two31);
*xorp = expand_simple_binop (intmode, AND, *xorp = expand_simple_binop (intmode, AND,
gen_lowpart (intmode, tmp[0]), gen_lowpart (intmode, tmp[0]),
......
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> 2019-09-29 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/91641 PR fortran/91641
......
/* PR target/91931 */
/* { dg-do compile } */
/* { dg-options "-O1 -ftree-loop-vectorize -mavx -mno-avx2" } */
#include "../../gcc.dg/vect/pr32216.c"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment