]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: atomic-6.c: Add -mieee for alpha*-*-* targets.
authorUros Bizjak <ubizjak@gmail.com>
Fri, 14 Aug 2009 10:05:33 +0000 (12:05 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 14 Aug 2009 10:05:33 +0000 (12:05 +0200)
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

26 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/type-generic-1.C
gcc/testsuite/gcc.dg/20020919-1.c
gcc/testsuite/gcc.dg/pr31866.c
gcc/testsuite/gcc.dg/torture/type-generic-1.c
gcc/testsuite/gfortran.dg/boz_9.f90
gcc/testsuite/gfortran.dg/default_format_denormal_1.f90
gcc/testsuite/gfortran.dg/init_flag_3.f90
gcc/testsuite/gfortran.dg/init_flag_4.f90
gcc/testsuite/gfortran.dg/init_flag_5.f90
gcc/testsuite/gfortran.dg/integer_exponentiation_1.f90
gcc/testsuite/gfortran.dg/integer_exponentiation_5.F90
gcc/testsuite/gfortran.dg/isnan_1.f90
gcc/testsuite/gfortran.dg/namelist_42.f90
gcc/testsuite/gfortran.dg/namelist_43.f90
gcc/testsuite/gfortran.dg/nan_1.f90
gcc/testsuite/gfortran.dg/nan_2.f90
gcc/testsuite/gfortran.dg/nan_3.f90
gcc/testsuite/gfortran.dg/nan_4.f90
gcc/testsuite/gfortran.dg/nearest_1.f90
gcc/testsuite/gfortran.dg/nearest_2.f90
gcc/testsuite/gfortran.dg/nearest_3.f90
gcc/testsuite/gfortran.dg/real_const_3.f90
gcc/testsuite/gfortran.dg/transfer_simplify_2.f90
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/atomic-6.c

index 685e5774c63aee247433d07696d8bf5ccf7c3d90..876214957c4702f04c68dc5fbfeddbbf97562f96 100644 (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
index 7db2e69d0a58de8ca49c0866c81bafb0e02e67e4..e9c17c328e7988c0e0e27c21ccfc415a2a6a6246 100644 (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"
index de58b0c91f5ae3bc2a891bfaa115d7322f73a3f4..f97a41ad63ac5a360637ddb73bdfbd62547f34c8 100644 (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
index f1afd93031872add532c2554136decdf996a28df..4081c0e6ad955d23a569937db70e4413bc5d2ce3 100644 (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__)
index 9a8e9d0048c72117ecefb08bcc67a58cbac723d5..96b5d01e5f64066814e276887fdee554ce2b7e98 100644 (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"
index 1488c6dc8be6ccb712d462d58bcc1d923590ec22..db35da0449ce1a548c7afad18eb1854ba2bd0240 100644 (file)
@@ -1,5 +1,6 @@
 ! { dg-do run }
 ! { dg-options "-fno-range-check" }
+! { dg-options "-fno-range-check -mieee" { target alpha*-*-* } } 
 !
 ! PR fortran/34342
 !
index 99cf187861a08ec3c2798840924389766d0e5a78..838c338cc2df81219613e70c315af33c709ef083 100644 (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.
 !
index 7d6ab33cfc41f63d7c808eeac6b6f6b26b4855ea..911e3a50816b6f3bee221e4da9edcb56da104d92 100644 (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
index 8ec40bc8fa55a40210e0f8832d6fe7a0a4fcffd8..8e1265e9347b097fc1ed7ea18713b6a3bd58c045 100644 (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
index 51dbd16cfba0d041f6f692416d55dbbca74eb41e..5531251b00fc07185563756ed129d57305bb10ad 100644 (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
index bed7c6ab02a34383f5aabb6d23d25d8e81134224..77ef84c2e9267f37c8aac84b9f5d951094c386b7 100644 (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
index 07127c6aa4e61549425a1038e0bb7c0a6c86633c..2fc8df35c3fa416276852f2456a9a8748776fe17 100644 (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
 
index db8f5695cdf979fc9426e339b285c07b70191a2b..3c0cce8d378da5d13b0c380fe0bc096f20d4f11a 100644 (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
index e2efb6f74672e4b2d3937e5f5ee9abcc00c28d26..24d31539b138acd1d77dfe284906c08fb5a71f82 100644 (file)
@@ -1,5 +1,5 @@
 ! { dg-do run }
-! { dg-options "-mieee" { target sh*-*-* } }
+! { dg-options "-mieee" { target alpha*-*-* sh*-*-* } }
 !
 ! PR fortran/34427
 !
index 467b11de145ff07adf1a1ff5125b0d4424c719c4..e61af88e5882ecea8533c66f0cecfb76a1215ce5 100644 (file)
@@ -1,5 +1,5 @@
 ! { dg-do run }
-! { dg-options "-mieee" { target sh*-*-* } }
+! { dg-options "-mieee" { target alpha*-*-* sh*-*-* } }
 !
 ! PR fortran/34427
 !
index 0c9eb0435cf93d47ea1f0945ab457cc873f7cb2d..6b7e19f8060d684c6138b256da4224de53aea4aa 100644 (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
index 49e1c39610ca7611300499ef7e0737183073133b..30987715f36a0643a7b727d6747a5c1c71f13ffc 100644 (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
 !
index 957b94d214d346651428a69fc35840da027d35dd..adc927674b95a7df55f88bff4366dd309c90914a 100644 (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
 !
index 771aad02fa95e94ef23dec2f1446546384b1b08e..7c37671efef0ca6eee08ef075728846a4e92432f 100644 (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.
 !
index c80f3a6bc2d8095ce1a7b48b46f524c84aaa30e4..64e2b8524fc059c0105b5f214fe946c468ef4b7d 100644 (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
index 08c774469cccf2bbde2a58ed2cbec211c88f829f..8bb47687015db93f7eca270e7d655006696b2a3d 100644 (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
 !
index 4262a8cb06b8d5a3cce6195bb71d9d21196a2863..3af4cfc34d26f1181e944a827d8a58cc8e062a0c 100644 (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
 !
index a05986fcb8f87f8cca83b8bedebf9a3c85e455f1..90e82087bb488a2e3379723ff10b7f2d4722333e 100644 (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
index a4da6a539695321577045b250df9bc7f5f747a04..10fe11d122c8e23a7c40153ea4e3f520cf314c19 100644 (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
index 226dc41660ca5910dc3c12d9a7a5c1e3aaacff42..4fa5c04423946d0bba56abbde03ea469d083fb3f 100644 (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.
index 949fc3d73da995640a7042ec52672e9f5414e1c0..8e7fca596007184988ec2d8ca007ce01720e1908 100644 (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__