revert: re PR target/89397 (ICE in build_call_expr_loc_array at gcc/tree.c:11563 since r229082)
Revert: PR target/89397 * config/i386/i386.c (ix86_option_override_internal): Set opts->x_ix86_fpmath to FPMATH_387 when SSE is disabled. gcc/testsuite/ PR target/89397 * gcc.target/i386/pr89397.c: New test. From-SVN: r269040
This commit is contained in:
parent
145d4e1a4e
commit
0024731fda
@ -16,12 +16,6 @@
|
||||
|
||||
* config/gcn/gcn.c (print_operand): Fix typo.
|
||||
|
||||
2019-02-19 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR target/89397
|
||||
* config/i386/i386.c (ix86_option_override_internal): Set
|
||||
opts->x_ix86_fpmath to FPMATH_387 when SSE is disabled.
|
||||
|
||||
2019-02-19 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR middle-end/88074
|
||||
|
@ -4310,9 +4310,10 @@ ix86_option_override_internal (bool main_args_p,
|
||||
if (!TARGET_SSE_P (opts->x_ix86_isa_flags))
|
||||
{
|
||||
if (TARGET_80387_P (opts->x_target_flags))
|
||||
warning (0, "SSE instruction set disabled, using 387 arithmetics");
|
||||
/* NB: 387 codegen is guarded by TARGET_80387. */
|
||||
opts->x_ix86_fpmath = FPMATH_387;
|
||||
{
|
||||
warning (0, "SSE instruction set disabled, using 387 arithmetics");
|
||||
opts->x_ix86_fpmath = FPMATH_387;
|
||||
}
|
||||
}
|
||||
else if ((opts->x_ix86_fpmath & FPMATH_387)
|
||||
&& !TARGET_80387_P (opts->x_target_flags))
|
||||
|
@ -28,11 +28,6 @@
|
||||
* c-c++-common/goacc/asyncwait-5.c: Remove XFAILs.
|
||||
* gfortran.dg/goacc/asyncwait-5.f: Likewise.
|
||||
|
||||
2019-02-19 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR target/89397
|
||||
* gcc.target/i386/pr89397.c: New test.
|
||||
|
||||
2019-02-19 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR middle-end/88074
|
||||
|
@ -1,11 +0,0 @@
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-mfpmath=sse,387 -msoft-float -mno-sse" } */
|
||||
|
||||
_Atomic double a;
|
||||
int b;
|
||||
|
||||
void
|
||||
foo (void)
|
||||
{
|
||||
a += b; /* { dg-error "SSE register return with SSE disabled" "" { target { ! ia32 } } } */
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user