20020919-1.c: Correct target selector to alpha*-*-*.

* gcc.dg/20020919-1.c: Correct target selector to alpha*-*-*.
	* gcc.dg/pr31866.c: Ditto.
	* gcc.dg/torture/type-generic-1.c: Add -mieee for alpha*-*-* targets.
	* g++.dg/torture/type-generic-1.C: Ditto.
	* gfortran.dg/boz_9.f90: Ditto.
	* gfortran.dg/boz_14.f90: Ditto.
	* gfortran.dg/init_flag_3.f90: Ditto.
	* gfortran.dg/init_flag_4.f90: Ditto.
	* gfortran.dg/init_flag_5.f90: Ditto.
	* gfortran.dg/integer_exponentiation_1.f90: Ditto.
	* gfortran.dg/integer_exponentiation_5.F90: Ditto.
	* gfortran.dg/isnan_1.f90: Ditto.
	* gfortran.dg/isnan_2.f90: Ditto.
	* gfortran.dg/module_nan.f90: Ditto.
	* gfortran.dg/nan_1.f90: Ditto.
	* gfortran.dg/nan_2.f90: Ditto.
	* gfortran.dg/nan_3.f90: Ditto.
	* gfortran.dg/nan_4.f90: Ditto.
	* gfortran.dg/namelist_42.f90: Ditto.
	* gfortran.dg/namelist_43.f90: Ditto.
	* gfortran.dg/nearest_1.f90: Ditto.
	* gfortran.dg/nearest_2.f90: Ditto.
	* gfortran.dg/nearest_3.f90: Ditto.
	* gfortran.dg/pr37243.f: Ditto.
	* gfortran.dg/real_const_3.f90: Ditto.
	* gfortran.dg/transfer_simplify_2.f90: Ditto.
	* gfortran.fortran-torture/execute/intrinsic_spacing.x: New file.

	* gfortran.dg/default_format_denormal_1.f90: XFAIL on alpha.

From-SVN: r142639
This commit is contained in:
Uros Bizjak 2008-12-10 08:49:40 +01:00 committed by Uros Bizjak
parent be3fbe5309
commit 53f37b01ef
29 changed files with 61 additions and 18 deletions

View File

@ -1,3 +1,35 @@
2008-12-10 Uros Bizjak <ubizjak@gmail.com>
* gcc.dg/20020919-1.c: Correct target selector to alpha*-*-*.
* gcc.dg/pr31866.c: Ditto.
* gcc.dg/torture/type-generic-1.c: Add -mieee for alpha*-*-* targets.
* g++.dg/torture/type-generic-1.C: Ditto.
* gfortran.dg/boz_9.f90: Ditto.
* gfortran.dg/boz_14.f90: Ditto.
* gfortran.dg/init_flag_3.f90: Ditto.
* gfortran.dg/init_flag_4.f90: Ditto.
* gfortran.dg/init_flag_5.f90: Ditto.
* gfortran.dg/integer_exponentiation_1.f90: Ditto.
* gfortran.dg/integer_exponentiation_5.F90: Ditto.
* gfortran.dg/isnan_1.f90: Ditto.
* gfortran.dg/isnan_2.f90: Ditto.
* gfortran.dg/module_nan.f90: Ditto.
* gfortran.dg/nan_1.f90: Ditto.
* gfortran.dg/nan_2.f90: Ditto.
* gfortran.dg/nan_3.f90: Ditto.
* gfortran.dg/nan_4.f90: Ditto.
* gfortran.dg/namelist_42.f90: Ditto.
* gfortran.dg/namelist_43.f90: Ditto.
* gfortran.dg/nearest_1.f90: Ditto.
* gfortran.dg/nearest_2.f90: Ditto.
* gfortran.dg/nearest_3.f90: Ditto.
* gfortran.dg/pr37243.f: Ditto.
* gfortran.dg/real_const_3.f90: Ditto.
* gfortran.dg/transfer_simplify_2.f90: Ditto.
* gfortran.fortran-torture/execute/intrinsic_spacing.x: New file.
* gfortran.dg/default_format_denormal_1.f90: XFAIL on alpha.
2008-12-09 Mark Mitchell <mark@codesourcery.com>
PR c++/37971

View File

@ -2,7 +2,7 @@
without any fast-math flags. */
/* { dg-do run } */
/* { dg-options "-mieee" { target sh*-*-* } } */
/* { dg-options "-mieee" { target alpha*-*-* sh*-*-* } } */
/* { dg-skip-if "No Inf/NaN support" { spu-*-* } } */
#include "../../gcc.dg/tg-tests.h"

View File

@ -8,7 +8,7 @@
You must be this tall ---> fit two long longs in asm-declared registers
to enter this amusement. */
/* { dg-do compile { target alpha-*-* cris-*-* crisv32-*-* i?86-*-* mmix-*-* powerpc*-*-* rs6000-*-* x86_64-*-* } } */
/* { dg-do compile { target alpha*-*-* cris-*-* crisv32-*-* i?86-*-* mmix-*-* powerpc*-*-* rs6000-*-* x86_64-*-* } } */
/* { dg-options "-O2" } */
/* Constructed examples; input/output (same register), output, input, and

View File

@ -1,5 +1,5 @@
/* PR tree-optimization/31866 */
/* { dg-do compile { target alpha-*-* cris-*-* crisv32-*-* i?86-*-* mmix-*-* powerpc*-*-* rs6000-*-* x86_64-*-* } } */
/* { dg-do compile { target alpha*-*-* cris-*-* crisv32-*-* i?86-*-* mmix-*-* powerpc*-*-* rs6000-*-* x86_64-*-* } } */
/* { dg-options "-O2" } */
#if defined (__alpha__)

View File

@ -2,7 +2,7 @@
without any fast-math flags. */
/* { dg-do run } */
/* { dg-options "-mieee" { target sh*-*-* } } */
/* { dg-options "-mieee" { target alpha*-*-* sh*-*-* } } */
/* { dg-skip-if "No Inf/NaN support" { spu-*-* } } */
#include "../tg-tests.h"

View File

@ -1,4 +1,5 @@
! { dg-do run }
! { dg-options "-mieee" { target alpha*-*-* } }
! PR fortran/36214
! For BOZ-initialization of floats, the precision used to be wrong sometimes.

View File

@ -1,5 +1,6 @@
! { dg-do run }
! { dg-options "-fno-range-check" }
! { dg-options "-fno-range-check -mieee" { target alpha*-*-* } }
!
! PR fortran/34342
!

View File

@ -1,4 +1,4 @@
! { dg-do run { xfail *-*-darwin[89]* *-*-freebsd* *-*-mingw* } }
! { dg-do run { xfail alpha*-*-* *-*-darwin[89]* *-*-freebsd* *-*-mingw* } }
! Test XFAILed on these platforms because the system's printf() lacks
! proper support for denormals.
!

View File

@ -1,6 +1,6 @@
! { dg-do run }
! { dg-options "-finit-integer=-1 -finit-logical=false -finit-real=nan" }
! { dg-options "-mieee -finit-integer=-1 -finit-logical=false -finit-real=nan" { target sh*-*-* } }
! { dg-options "-finit-integer=-1 -finit-logical=false -finit-real=nan -mieee" { target alpha*-*-* sh*-*-* } }
program init_flag_3
call real_test

View File

@ -1,5 +1,6 @@
! { dg-do run }
! { dg-options "-finit-real=inf" }
! { dg-options "-finit-real=inf -mieee" { target alpha*-*-* } } */
program init_flag_4
call real_test

View File

@ -1,5 +1,6 @@
! { dg-do run }
! { dg-options "-finit-real=-inf" }
! { dg-options "-finit-real=-inf -mieee" { target alpha*-*-* } } */
program init_flag_5
call real_test

View File

@ -1,4 +1,5 @@
! { dg-do run }
! { dg-options "-pedantic -mieee" { target alpha*-*-* } }
! PR 30981 - this used to go into an endless loop during execution.
program test
a = 3.0

View File

@ -1,5 +1,6 @@
! { dg-do run }
! { dg-options "-fno-range-check" }
! { dg-options "-fno-range-check -mieee" { target alpha*-*-* } } */
module mod_check
implicit none

View File

@ -1,7 +1,7 @@
! Test for the ISNAN intrinsic
!
! { dg-do run }
! { dg-options "-pedantic-errors -mieee" { target sh*-*-* } }
! { dg-options "-pedantic-errors -mieee" { target alpha*-*-* sh*-*-* } }
!
implicit none
real :: x

View File

@ -2,7 +2,7 @@
!
! { dg-do run }
! { dg-options "-fno-range-check" }
! { dg-options "-fno-range-check -pedantic-errors -mieee" { target sh*-*-* } }
! { dg-options "-fno-range-check -pedantic-errors -mieee" { target alpha*-*-* sh*-*-* } }
!
implicit none
character(len=1) :: s

View File

@ -1,6 +1,6 @@
! { dg-do run }
! { dg-options "-fno-range-check" }
! { dg-options "-fno-range-check -mieee" { target sh*-*-* } }
! { dg-options "-fno-range-check -mieee" { target alpha*-*-* sh*-*-* } }
!
! PR fortran/34318
!

View File

@ -1,5 +1,5 @@
! { dg-do run { target fd_truncate } }
! { dg-options "-mieee" { target sh*-*-* } }
! { dg-options "-mieee" { target alpha*-*-* sh*-*-* } }
!
! PR fortran/34427
!

View File

@ -1,5 +1,5 @@
! { dg-do run { target fd_truncate } }
! { dg-options "-mieee" { target sh*-*-* } }
! { dg-options "-mieee" { target alpha*-*-* sh*-*-* } }
!
! PR fortran/34427
!

View File

@ -2,7 +2,7 @@
! as arguments
!
! { dg-do run }
! { dg-options "-pedantic-errors -mieee" { target sh*-*-* } }
! { dg-options "-pedantic-errors -mieee" { target alpha*-*-* sh*-*-* } }
!
module aux2
interface isnan

View File

@ -1,6 +1,6 @@
! { dg-do run }
! { dg-options "-fno-range-check -pedantic" }
! { dg-options "-fno-range-check -pedantic -mieee" { target sh*-*-* } }
! { dg-options "-fno-range-check -pedantic -mieee" { target alpha*-*-* sh*-*-* } }
!
! PR fortran/34333
!

View File

@ -1,6 +1,6 @@
! { dg-do run }
! { dg-options "-fno-range-check" }
! { dg-options "-fno-range-check -mieee" { target sh*-*-* } }
! { dg-options "-fno-range-check -mieee" { target alpha*-*-* sh*-*-* } }
!
! PR fortran/34319
!

View File

@ -1,6 +1,6 @@
! { dg-do compile }
! { dg-options "-std=gnu" }
! { dg-options "-std=gnu -mieee" { target sh*-*-* } }
! { dg-options "-std=gnu -mieee" { target alpha*-*-* sh*-*-* } }
!
! PR fortran/34398.
!

View File

@ -1,5 +1,6 @@
! { dg-do run }
! { dg-options "-O0 -ffloat-store" }
! { dg-options "-O0 -ffloat-store -mieee" { target alpha*-*-* } }
! PR fortran/27021
! Original code submitted by Dominique d'Humieres
! Converted to Dejagnu for the testsuite by Steven G. Kargl

View File

@ -1,6 +1,6 @@
! { dg-do run }
! { dg-options "-fno-range-check" }
! { dg-options "-fno-range-check -mieee" { target sh*-*-* } }
! { dg-options "-fno-range-check -mieee" { target alpha*-*-* sh*-*-* } }
!
! PR fortran/34192
!

View File

@ -1,5 +1,5 @@
! { dg-do run }
! { dg-options "-pedantic-errors -mieee" { target sh*-*-* } }
! { dg-options "-pedantic-errors -mieee" { target alpha*-*-* sh*-*-* } }
!
! PR fortran/34209
!

View File

@ -1,5 +1,6 @@
! PR rtl-optimization/37243
! { dg-do run }
! { dg-options "-mieee" { target alpha*-*-* } }
! Check if register allocator handles IR flattening correctly.
SUBROUTINE SCHMD(V,M,N,LDV)
IMPLICIT DOUBLE PRECISION(A-H,O-Z)

View File

@ -1,6 +1,6 @@
!{ dg-do run }
!{ dg-options "-fno-range-check" }
!{ dg-options "-fno-range-check -mieee" { target sh*-*-* } }
!{ dg-options "-fno-range-check -mieee" { target alpha*-*-* sh*-*-* } }
! PR19310 and PR19904, allow disabling range check during compile.
! Contributed by Jerry DeLisle <jvdelisle@gcc.gnu.org>
program main

View File

@ -1,5 +1,6 @@
! { dg-do run }
! { dg-options "-O2" }
! { dg-options "-O2 -mieee" { target alpha*-*-* } }
! Tests the fix for the meta-bug PR31237 (TRANSFER intrinsic)
! Exercises gfc_simplify_transfer a random walk through types and shapes
! and compares its results with the middle-end version that operates on

View File

@ -0,0 +1,2 @@
add-ieee-options
return 0