backport: atomic-6.c: Add -mieee for alpha*-*-* targets.

libgomp/ChangeLog:

2009-08-14  Uros Bizjak  <ubizjak@gmail.com>

        Backport from mainline:
        2008-12-26  Uros Bizjak  <ubizjak@gmail.com>

        * testsuite/libgomp.c/atomic-6.c: Add -mieee for alpha*-*-* targets.

gcc/testsuite/ChangeLog:

2009-08-14  Uros Bizjak <ubizjak@gmail.com>

	Backport from mainline:
	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/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/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/real_const_3.f90: Ditto.
	* gfortran.dg/transfer_simplify_2.f90: Ditto.

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

From-SVN: r150737
This commit is contained in:
Uros Bizjak 2009-08-14 12:05:33 +02:00 committed by Uros Bizjak
parent 4014290c0a
commit 078eba4151
26 changed files with 61 additions and 16 deletions

View File

@ -1,3 +1,33 @@
2009-08-14 Uros Bizjak <ubizjak@gmail.com>
Backport from mainline:
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/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/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/real_const_3.f90: Ditto.
* gfortran.dg/transfer_simplify_2.f90: Ditto.
* gfortran.dg/default_format_denormal_1.f90: XFAIL on alpha.
2009-08-13 Richard Guenther <rguenther@suse.de>
PR rtl-optimization/41033

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,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 *-apple-darwin* *-*-freebsd* } }
! { dg-do run { xfail alpha*-*-* *-apple-darwin* *-*-freebsd* } }
! 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 "-mieee -finit-integer=-1 -finit-logical=false -finit-real=nan" { 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

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

View File

@ -1,5 +1,5 @@
! { dg-do run }
! { 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,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

@ -1,3 +1,10 @@
2009-08-14 Uros Bizjak <ubizjak@gmail.com>
Backport from mainline:
2008-12-26 Uros Bizjak <ubizjak@gmail.com>
* testsuite/libgomp.c/atomic-6.c: Add -mieee for alpha*-*-* targets.
2009-08-04 Release Manager
* GCC 4.3.4 released.

View File

@ -1,5 +1,6 @@
/* PR middle-end/36106 */
/* { dg-options "-O2" } */
/* { dg-options "-O2 -mieee" { target alpha*-*-* } } */
/* { dg-options "-O2 -march=i586" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
#ifdef __i386__