Update PR middle-end/88587 tests

It is wrong to use -m32 in dg-options.  { target ia32 } should be used
instead.  Also add -fno-pic to g++.target/i386/pr88587.C since it is
invalid with PIC.

	PR middle-end/88587
	* g++.target/i386/pr88587.C (dg-do): Add { target ia32 }.
	(dg-options): Replace -m32 with -fno-pic.
	* gcc.target/i386/mvc13.c (dg-do): Add { target ia32 }.
	(dg-options): Remove -m32.

From-SVN: r268079
This commit is contained in:
H.J. Lu 2019-01-18 14:33:46 +00:00 committed by H.J. Lu
parent 649794ff57
commit 3a42e16dca
3 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/88587
* g++.target/i386/pr88587.C (dg-do): Add { target ia32 }.
(dg-options): Replace -m32 with -fno-pic.
* gcc.target/i386/mvc13.c (dg-do): Add { target ia32 }.
(dg-options): Remove -m32.
2019-01-18 Richard Biener <rguenther@suse.de>
PR tree-optimization/88903

View File

@ -1,6 +1,6 @@
/* { dg-do compile } */
/* { dg-do compile { target ia32 } } */
/* { dg-require-ifunc "" } */
/* { dg-options "-O -m32 -g -mno-sse -Wno-attributes" } */
/* { dg-options "-O -fno-pic -g -mno-sse -Wno-attributes" } */
__attribute__((target("default"),always_inline))
void a()

View File

@ -1,6 +1,6 @@
/* { dg-do compile } */
/* { dg-do compile { target ia32 } } */
/* { dg-require-ifunc "" } */
/* { dg-options "-O -m32 -g -mno-sse" } */
/* { dg-options "-O -g -mno-sse" } */
__attribute__((target_clones("default,sse2")))
void a()