mirror of git://gcc.gnu.org/git/gcc.git
Fix PR68497 (ICE with -fno-checking)
gcc/ PR target/68497 * config/i386/i386.c (output_387_binary_op): Fix assertion for -fno-checking case. gcc/testsuite/ PR target/68497 * gcc.target/i386/pr68497.c: New test. From-SVN: r230803
This commit is contained in:
parent
5205ae6e27
commit
db92ed3685
|
|
@ -1,3 +1,9 @@
|
||||||
|
2015-11-24 Mikhail Maltsev <maltsevm@gmail.com>
|
||||||
|
|
||||||
|
PR target/68497
|
||||||
|
* config/i386/i386.c (output_387_binary_op): Fix assertion for
|
||||||
|
-fno-checking case.
|
||||||
|
|
||||||
2015-11-24 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
2015-11-24 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
||||||
|
|
||||||
* tree-ssa-uncprop.c (struct val_ssa_equiv_hash_traits): Remove.
|
* tree-ssa-uncprop.c (struct val_ssa_equiv_hash_traits): Remove.
|
||||||
|
|
|
||||||
|
|
@ -17675,8 +17675,9 @@ output_387_binary_op (rtx insn, rtx *operands)
|
||||||
|
|
||||||
/* Even if we do not want to check the inputs, this documents input
|
/* Even if we do not want to check the inputs, this documents input
|
||||||
constraints. Which helps in understanding the following code. */
|
constraints. Which helps in understanding the following code. */
|
||||||
if (flag_checking
|
if (flag_checking)
|
||||||
&& STACK_REG_P (operands[0])
|
{
|
||||||
|
if (STACK_REG_P (operands[0])
|
||||||
&& ((REG_P (operands[1])
|
&& ((REG_P (operands[1])
|
||||||
&& REGNO (operands[0]) == REGNO (operands[1])
|
&& REGNO (operands[0]) == REGNO (operands[1])
|
||||||
&& (STACK_REG_P (operands[2]) || MEM_P (operands[2])))
|
&& (STACK_REG_P (operands[2]) || MEM_P (operands[2])))
|
||||||
|
|
@ -17686,7 +17687,8 @@ output_387_binary_op (rtx insn, rtx *operands)
|
||||||
&& (STACK_TOP_P (operands[1]) || STACK_TOP_P (operands[2])))
|
&& (STACK_TOP_P (operands[1]) || STACK_TOP_P (operands[2])))
|
||||||
; /* ok */
|
; /* ok */
|
||||||
else
|
else
|
||||||
gcc_checking_assert (is_sse);
|
gcc_assert (is_sse);
|
||||||
|
}
|
||||||
|
|
||||||
switch (GET_CODE (operands[3]))
|
switch (GET_CODE (operands[3]))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
2015-11-24 Mikhail Maltsev <maltsevm@gmail.com>
|
||||||
|
|
||||||
|
PR target/68497
|
||||||
|
* gcc.target/i386/pr68497.c: New test.
|
||||||
|
|
||||||
2015-11-24 Bilyan Borisov <bilyan.borisov@arm.com>
|
2015-11-24 Bilyan Borisov <bilyan.borisov@arm.com>
|
||||||
|
|
||||||
* gcc.target/aarch64/advsimd-intrinsics/vmulx_lane_f32_indices_1.c:
|
* gcc.target/aarch64/advsimd-intrinsics/vmulx_lane_f32_indices_1.c:
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
/* { dg-do compile } */
|
||||||
|
/* { dg-options "-fno-checking" } */
|
||||||
|
|
||||||
|
long double
|
||||||
|
foo (long double x, long double y)
|
||||||
|
{
|
||||||
|
return x + y;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue