[PATCH] i386: Cleanup -m32 usage in the testuite.
Use conditional compilation for ia32 target istead. 2022-05-05 Uroš Bizjak <ubizjak@gmail.com> gcc/testsuite/ChangeLog: * gcc.target/i386/pr103611-2.c (dg-do): Compile for target ia32. (dg-options): Remove -m32. * gcc.target/i386/pr105032.c (dg-do): Compile for taget ia32. (dg-additional-options): Remove. * gcc.target/i386/pr104732.c (dg-options): Remove -m32. * gcc.target/i386/pr99753.c (dg-options): Ditto.
This commit is contained in:
parent
705bcedf6e
commit
b06a79b823
4 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,6 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-options "-m32 -O2 -msse4" } */
|
||||
/* { dg-do compile { target ia32 } } */
|
||||
/* { dg-options "-O2 -msse4" } */
|
||||
|
||||
typedef int __v4si __attribute__ ((__vector_size__ (16)));
|
||||
|
||||
long long test1(__v4si v) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* { dg-do compile { target ia32 } } */
|
||||
/* { dg-options "-O2 -m32 -msse -march=pentiumpro" } */
|
||||
/* { dg-options "-O2 -msse -march=pentiumpro" } */
|
||||
|
||||
typedef long long v2di __attribute__((vector_size (16)));
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-do compile { target ia32 } } */
|
||||
/* { dg-options "-w" } */
|
||||
/* { dg-additional-options "-m32" { target x86_64-*-* } } */
|
||||
|
||||
typedef unsigned int size_t;
|
||||
__extension__ typedef long int __off_t;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* PR target/99753 */
|
||||
|
||||
/* { dg-do compile } */
|
||||
/* { dg-options "-march=amd -m32" } */
|
||||
/* { dg-options "-march=amd" } */
|
||||
/* { dg-error "bad value 'amd' for '-march=' switch" "" { target *-*-* } 0 } */
|
||||
|
|
Loading…
Add table
Reference in a new issue