Always check for target i?86 and x86_64
libstdc++-v3: * testsuite/20_util/variant/index_type.cc: Allow for all ilp32 and lp64 targets. gcc/testsuite: * c-c++-common/fold-masked-cmp-1.c: Allow for i?86-*-* target. * c-c++-common/fold-masked-cmp-2.c: Likewise. * c-c++-common/fold-masked-cmp-3.c: Likewise. * g++.dg/cpp0x/alignas4.C: Allow for i?86-*-* target, don't restrict to x86_64-*-*-gnu. Skip scan-assembler on *-*-darwin*. * g++.dg/vect/pr70944.cc: Allow for i?86-*-* target. * gcc.dg/loop-invariant.c: Likewise. * gcc.dg/lto/pr70955_0.c: Likewise. * gcc.dg/tree-ssa/pr69196-1.c: Likewise. * gcc.dg/tree-ssa/pr79803.c: Likewise. * gfortran.dg/pr68078.f90: Allow for i?86-*-linux*. * g++.dg/debug/dwarf2/const2b.C: Allow for x86_64-*-* target. * gcc.dg/attr-ms_struct-1.c: Allow for all i?86-*-*, x86_64-*-* targets. * gcc.dg/attr-ms_struct-2.c: Likewise. * gcc.dg/attr-ms_struct-packed1.c: Likewise. * gcc.dg/bf-ms-layout.c: Likewise. * gcc.dg/bf-ms-layout-2.c: Likewise. * gcc.dg/pic-macro-define.c: Remove target restrictions. Require fpic support. * gcc.target/i386/bitfield1.c: Allow for all i?86-*-*, x86_64-*-* targets. * gcc.target/i386/bitfield2.c: Likewise. * gcc.target/i386/darwin-fpmath.c: Allow for x86_64-*-darwin* targets. * gfortran.dg/fmt_pf.f90: Remove i?86-*-solaris2.9* from xfail. From-SVN: r249409
This commit is contained in:
parent
71bbbd133f
commit
67ea3f4e0f
24 changed files with 60 additions and 23 deletions
|
@ -1,3 +1,34 @@
|
|||
2017-06-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* c-c++-common/fold-masked-cmp-1.c: Allow for i?86-*-* target.
|
||||
* c-c++-common/fold-masked-cmp-2.c: Likewise.
|
||||
* c-c++-common/fold-masked-cmp-3.c: Likewise.
|
||||
* g++.dg/cpp0x/alignas4.C: Allow for i?86-*-* target, don't
|
||||
restrict to x86_64-*-*-gnu.
|
||||
Skip scan-assembler on *-*-darwin*.
|
||||
* g++.dg/vect/pr70944.cc: Allow for i?86-*-* target.
|
||||
* gcc.dg/loop-invariant.c: Likewise.
|
||||
* gcc.dg/lto/pr70955_0.c: Likewise.
|
||||
* gcc.dg/tree-ssa/pr69196-1.c: Likewise.
|
||||
* gcc.dg/tree-ssa/pr79803.c: Likewise.
|
||||
* gfortran.dg/pr68078.f90: Allow for i?86-*-linux*.
|
||||
|
||||
* g++.dg/debug/dwarf2/const2b.C: Allow for x86_64-*-* target.
|
||||
* gcc.dg/attr-ms_struct-1.c: Allow for all i?86-*-*, x86_64-*-*
|
||||
targets.
|
||||
* gcc.dg/attr-ms_struct-2.c: Likewise.
|
||||
* gcc.dg/attr-ms_struct-packed1.c: Likewise.
|
||||
* gcc.dg/bf-ms-layout.c: Likewise.
|
||||
* gcc.dg/bf-ms-layout-2.c: Likewise.
|
||||
* gcc.dg/pic-macro-define.c: Remove target restrictions.
|
||||
Require fpic support.
|
||||
* gcc.target/i386/bitfield1.c: Allow for all i?86-*-*, x86_64-*-*
|
||||
targets.
|
||||
* gcc.target/i386/bitfield2.c: Likewise.
|
||||
* gcc.target/i386/darwin-fpmath.c: Allow for x86_64-*-darwin*
|
||||
targets.
|
||||
* gfortran.dg/fmt_pf.f90: Remove i?86-*-solaris2.9* from xfail.
|
||||
|
||||
2017-06-20 Nathan Sidwell <nathan@acm.org>
|
||||
|
||||
PR c++/67074
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* Based on PR 67328 */
|
||||
|
||||
/* { dg-do compile { target x86_64-*-* } } */
|
||||
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
|
||||
/* { dg-options "-O2" } */
|
||||
|
||||
enum output_type
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* Based on PR 67328 */
|
||||
|
||||
/* { dg-do compile { target x86_64-*-* } } */
|
||||
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
|
||||
/* { dg-options "-O2" } */
|
||||
|
||||
enum output_type
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* { dg-do compile { target x86_64-*-* } } */
|
||||
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
|
||||
/* { dg-options "-fdump-tree-original" } */
|
||||
|
||||
void foo (int *p, int x)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// PR c++/59012
|
||||
// { dg-do compile { target c++11 } }
|
||||
// { dg-final { scan-assembler "align 8" { target x86_64-*-*-gnu } } }
|
||||
// { dg-final { scan-assembler "align 8" { target { { i?86-*-* x86_64-*-* } && { ! *-*-darwin* } } } } }
|
||||
|
||||
template <class... T>
|
||||
struct A
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* { dg-do compile { target i386*-*-* } } */
|
||||
/* { dg-do compile { target i386*-*-* x86_64-*-* } } */
|
||||
/* { dg-options "-O -gdwarf-2 -dA -msse" } */
|
||||
/* { dg-require-effective-target sse } */
|
||||
/* { dg-final { scan-assembler "DW_AT_const_value" } } */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* { dg-do compile { target x86_64-*-* } } */
|
||||
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
|
||||
/* { dg-additional-options "-O3 -march=core-avx2" } */
|
||||
|
||||
unsigned *a;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Test for MS structure sizes. */
|
||||
/* { dg-do run { target *-*-mingw* *-*-cygwin* i?86-*-darwin* } } */
|
||||
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
|
||||
/* { dg-require-effective-target ilp32 } */
|
||||
/* { dg-options "-std=gnu99" } */
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Test for MS structure sizes. */
|
||||
/* { dg-do run { target *-*-mingw* *-*-cygwin* i?86-*-darwin* } } */
|
||||
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
|
||||
/* { dg-require-effective-target ilp32 } */
|
||||
/* { dg-options "-std=gnu99" } */
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Test for MS structure with packed attribute. */
|
||||
/* { dg-do run { target *-*-mingw* *-*-cygwin* i?86-*-darwin* } }
|
||||
/* { dg-do run { target i?86-*-* x86_64-*-* } }
|
||||
/* { dg-options "-std=gnu99" } */
|
||||
|
||||
extern void abort ();
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
posted to GCC-patches
|
||||
http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00577.html */
|
||||
|
||||
/* { dg-do run { target *-*-mingw* *-*-cygwin* i?86-*-darwin* } } */
|
||||
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
|
||||
/* { dg-options "-D_TEST_MS_LAYOUT" } */
|
||||
/* This test uses the attribute instead of the command line option. */
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
posted to GCC-patches
|
||||
http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00577.html */
|
||||
|
||||
/* { dg-do run { target *-*-mingw* *-*-cygwin* i?86-*-darwin* } } */
|
||||
/* { dg-do run { target i?86-*-* x86_64-*-* } } */
|
||||
/* { dg-options "-mms-bitfields -D_TEST_MS_LAYOUT" } */
|
||||
|
||||
#include <stddef.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* { dg-do compile { target x86_64-*-* } } */
|
||||
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
|
||||
/* { dg-options "-O2 -fdump-rtl-loop2_invariant" } */
|
||||
/* NOTE: The target list above could be extended to other targets that have
|
||||
conditional moves, but don't have zero registers. */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* __builtin_ms_va_list is only supported for x86_64 -m64. */
|
||||
/* { dg-skip-if "" { ! {x86_64-*-* && { ! ilp32 } } } } */
|
||||
/* __builtin_ms_va_list is only supported for x86 -m64. */
|
||||
/* { dg-skip-if "" { ! { { i?86-*-* x86_64-*-* } && { ! ilp32 } } } } */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* { dg-do run { target "i?86-*-*-darwin" powerpc*-*-darwin* } } */
|
||||
/* { dg-do run } */
|
||||
/* { dg-require-effective-target fpic } */
|
||||
/* { dg-options "-fPIC" } */
|
||||
|
||||
#if defined __PIC__
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* { dg-do compile { target sparc*-*-* x86_64-*-* } } */
|
||||
/* { dg-do compile { target sparc*-*-* i?86-*-* x86_64-*-* } } */
|
||||
/* { dg-options "-O2 -fdump-tree-thread1-details -fdisable-tree-ethread" } */
|
||||
|
||||
/* { dg-final { scan-tree-dump "FSM did not thread around loop and would copy too many statements" "thread1" } } */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* { dg-do compile { target { x86_64-*-* } } } */
|
||||
/* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */
|
||||
/* { dg-options "-march=opteron-sse3 -Ofast --param l1-cache-line-size=3 -Wdisabled-optimization" } */
|
||||
/* { dg-require-effective-target indirect_jumps } */
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// { dg-do run }
|
||||
// { dg-require-effective-target ia32 }
|
||||
// { dg-options "-O2" }
|
||||
// { dg-options "-mno-align-double -mno-ms-bitfields" { target i?86-*-cygwin* i?86-*-mingw*} }
|
||||
// { dg-options "-mno-align-double -mno-ms-bitfields" { target i?86-*-* x86_64-*-* } }
|
||||
|
||||
extern void abort (void);
|
||||
extern void exit (int);
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// { dg-do run }
|
||||
// { dg-require-effective-target ia32 }
|
||||
// { dg-options "-O2" }
|
||||
// { dg-options "-mno-align-double -mno-ms-bitfields" { target i?86-*-cygwin* i?86-*-mingw* } }
|
||||
// { dg-options "-mno-align-double -mno-ms-bitfields" { target i?86-*-* x86_64-*-* } }
|
||||
|
||||
extern void abort (void);
|
||||
extern void exit (int);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* { dg-do compile { target i?86-*-darwin* } } */
|
||||
/* { dg-do compile { target i?86-*-darwin* x86_64-*-darwin* } } */
|
||||
/* { dg-final { scan-assembler "addsd" } } */
|
||||
/* Do not add -msse or -msse2 or -mfpmath=sse to the options. GCC is
|
||||
supposed to use SSE math on Darwin by default, and libm won't work
|
||||
|
|
|
@ -223,4 +223,4 @@ contains
|
|||
|
||||
end subroutine
|
||||
end program
|
||||
! { dg-output "All kinds rounded to nearest" { xfail { i?86-*-solaris2.9* hppa*-*-hpux* } } }
|
||||
! { dg-output "All kinds rounded to nearest" { xfail { hppa*-*-hpux* } } }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
! { dg-do run { target x86_64-*-linux* } }
|
||||
! { dg-do run { target i?86-*-linux* x86_64-*-linux* } }
|
||||
! { dg-additional-sources set_vm_limit.c }
|
||||
!
|
||||
! This test calls set_vm_limit to set an artificially low address space
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2017-06-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* testsuite/20_util/variant/index_type.cc: Allow for all ilp32 and
|
||||
lp64 targets.
|
||||
|
||||
2017-06-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* config/abi/post/i386-solaris2.10/baseline_symbols.txt: Regenerate.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// { dg-options "-std=gnu++17" }
|
||||
// { dg-do compile { target x86_64-*-* powerpc*-*-* } }
|
||||
// { dg-do compile { target { ilp32 || lp64 } } }
|
||||
|
||||
// Copyright (C) 2017 Free Software Foundation, Inc.
|
||||
//
|
||||
|
|
Loading…
Add table
Reference in a new issue