Commit b73aff36 by Uros Bizjak

s390: New directory.

	* gcc.target/s390: New directory.
	* gcc.target/s390/s390.exp: New file.
	* gcc.dg/20020926-1.c, gcc.dg/20030123-1.c, gcc.dg/20030129-1.c,
	gcc.dg/20040305-1.c, gcc.dg/20041109-1.c, gcc.dg/20041216-1.c,
	gcc.dg/20050409-1.c, gcc.dg/20050524-1.c, gcc.dg/20050824-1.c,
	gcc.dg/pr20927.c, gcc.dg/pr24624.c, gcc.dg/pr27661.c: Move to
	gcc.target/s390 directory.

From-SVN: r127738
parent 0cb58062
2007-08-23 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/s390: New directory.
* gcc.target/s390/s390.exp: New file.
* gcc.dg/20020926-1.c, gcc.dg/20030123-1.c, gcc.dg/20030129-1.c,
gcc.dg/20040305-1.c, gcc.dg/20041109-1.c, gcc.dg/20041216-1.c,
gcc.dg/20050409-1.c, gcc.dg/20050524-1.c, gcc.dg/20050824-1.c,
gcc.dg/pr20927.c, gcc.dg/pr24624.c, gcc.dg/pr27661.c: Move to
gcc.target/s390 directory.
2007-08-23 Richard Guenther <rguenther@suse.de> 2007-08-23 Richard Guenther <rguenther@suse.de>
PR tree-optimization/32328 PR tree-optimization/32328
...@@ -254,7 +264,8 @@ ...@@ -254,7 +264,8 @@
versioning for aliasing). versioning for aliasing).
* testsuite/gcc.dg/vect/vect-35.c: Likewise. * testsuite/gcc.dg/vect/vect-35.c: Likewise.
* testsuite/gcc.dg/vect/vect-iv-6.c: Fix test for vect_no_align targets. * testsuite/gcc.dg/vect/vect-iv-6.c: Fix test for vect_no_align
targets.
* testsuite/gcc.dg/vect/vect-multitypes-11.c: Likewise. * testsuite/gcc.dg/vect/vect-multitypes-11.c: Likewise.
2007-08-18 Tom Tromey <tromey@redhat.com> 2007-08-18 Tom Tromey <tromey@redhat.com>
...@@ -580,8 +591,8 @@ ...@@ -580,8 +591,8 @@
PR middle-end/32813 PR middle-end/32813
* gfortran.fortran-torture/compile/emptyif-1.f90: New test. * gfortran.fortran-torture/compile/emptyif-1.f90: New test.
* lib/fortran-torture.exp (fortran-torture): Use TORTURE_OPTIONS instead * lib/fortran-torture.exp (fortran-torture): Use TORTURE_OPTIONS
of just -O. instead of just -O.
2007-08-08 Richard Sandiford <richard@codesourcery.com> 2007-08-08 Richard Sandiford <richard@codesourcery.com>
/* Make sure that LEGITIMIZE_ADDRESS is called to handle /* Make sure that LEGITIMIZE_ADDRESS is called to handle
negative displacements. */ negative displacements. */
/* { dg-do compile { target s390-*-* } } */ /* { dg-do compile } */
/* { dg-options "-O2 -mesa" } */ /* { dg-options "-O2 -mesa" } */
int test (int *addr) int test (int *addr)
......
/* This used to ICE due to a reload bug on s390*. */ /* This used to ICE due to a reload bug on s390*. */
/* { dg-do compile { target s390*-*-* } } */ /* { dg-do compile } */
/* { dg-options "-O2 -fno-omit-frame-pointer" } */ /* { dg-options "-O2 -fno-omit-frame-pointer" } */
extern void *alloca (__SIZE_TYPE__); extern void *alloca (__SIZE_TYPE__);
......
/* This used to ICE due to a reload bug on s390*. */ /* This used to ICE due to a reload bug on s390*. */
/* { dg-do compile { target s390*-*-* } } */ /* { dg-do compile } */
/* { dg-options "-O2" } */ /* { dg-options "-O2" } */
int f (unsigned int); int f (unsigned int);
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
reordering which leads to an insn with wrong alias info. reordering which leads to an insn with wrong alias info.
The scheduler afterwards exchanges the mvc and st instructions The scheduler afterwards exchanges the mvc and st instructions
not recognizing the anti dependence. */ not recognizing the anti dependence. */
/* { dg-do run { target s390-*-* } } */ /* { dg-do run } */
/* { dg-options "-O3 -mtune=z990 -fno-inline" } */ /* { dg-options "-O3 -mtune=z990 -fno-inline" } */
extern void exit (int); extern void exit (int);
......
/* This used to ICE due to a literal pool handling bug on s390x. */ /* This used to ICE due to a literal pool handling bug on s390x. */
/* { dg-do compile { target s390*-*-* } } */ /* { dg-do compile } */
/* { dg-options "-O2 -fno-omit-frame-pointer" } */ /* { dg-options "-O2 -fno-omit-frame-pointer" } */
static struct table { int x; } table[3]; static struct table { int x; } table[3];
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
because stabs referred to an optimized-away literal pool because stabs referred to an optimized-away literal pool
entry. */ entry. */
/* { dg-do run { target s390*-*-* } } */ /* { dg-do run } */
/* { dg-options "-O2 -fno-omit-frame-pointer -gstabs" } */ /* { dg-options "-O2 -fno-omit-frame-pointer -gstabs" } */
int main (void) int main (void)
......
/* This used to ICE due to a regmove problem on s390. */ /* This used to ICE due to a regmove problem on s390. */
/* { dg-do compile { target s390*-*-* } } */ /* { dg-do compile } */
/* { dg-options "-O2" } */ /* { dg-options "-O2" } */
......
/* This test case used to abort due to a reload bug with /* This test case used to abort due to a reload bug with
elimination offsets. */ elimination offsets. */
/* { dg-do run { target s390*-*-* } } */ /* { dg-do run } */
/* { dg-options "-O2 -mpacked-stack" } */ /* { dg-options "-O2 -mpacked-stack" } */
extern void abort (void); extern void abort (void);
......
/* Make sure that the S/390 specific shift_count_operand /* Make sure that the S/390 specific shift_count_operand
predicate work properly. */ predicate work properly. */
/* { dg-do compile { target s390*-*-* } } */ /* { dg-do compile } */
/* { dg-options "-O3" } */ /* { dg-options "-O3" } */
unsigned long long unsigned long long
......
/* This caused an ICE on s390x due to a reload inheritance bug. */ /* This caused an ICE on s390x due to a reload inheritance bug. */
/* { dg-do compile { target s390*-*-* } } */ /* { dg-do compile } */
/* { dg-options "-O2" } */ /* { dg-options "-O2" } */
struct point { double x, y; }; struct point { double x, y; };
......
/* This used to ICE due to a backend problem on s390. */ /* This used to ICE due to a backend problem on s390. */
/* { dg-do compile { target s390*-*-* } } */ /* { dg-do compile } */
/* { dg-options "-O1 -mpacked-stack" } */ /* { dg-options "-O1 -mpacked-stack" } */
typedef unsigned int __u32; typedef unsigned int __u32;
......
/* This used to ICE on s390 due to a reload bug. */ /* This used to ICE on s390 due to a reload bug. */
/* { dg-do compile { target s390*-*-* } } */ /* { dg-do compile } */
/* { dg-options "-O2 -march=z990 -ftracer" } */ /* { dg-options "-O2 -march=z990 -ftracer" } */
extern int memcmp (const void *s1, const void *s2, unsigned long n); extern int memcmp (const void *s1, const void *s2, unsigned long n);
......
# Copyright (C) 2007 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
# GCC testsuite that uses the `dg.exp' driver.
# Exit immediately if this isn't a s390 target.
if ![istarget s390*-*-*] then {
return
}
# Load support procs.
load_lib gcc-dg.exp
# If a testcase doesn't have special options, use these.
global DEFAULT_CFLAGS
if ![info exists DEFAULT_CFLAGS] then {
set DEFAULT_CFLAGS " -ansi -pedantic-errors"
}
# Initialize `dg'.
dg-init
# Main loop.
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\]]] \
"" $DEFAULT_CFLAGS
# All done.
dg-finish
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment