From 5b0936da944d0e54e9efd0cac3b295553e31e8f2 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Wed, 2 Jul 2014 10:45:08 +0200 Subject: configure.host (ieee_flags): Add -mieee for alpha*. libgfortran/ChangeLog: * configure.host (ieee_flags): Add -mieee for alpha*. * config/fpu-glibc.h (support_fpu_rounding_mode): Correctly handle GFC_FPE_UPWARD, GFC_FPE_DOWNWARD and GFC_FPE_TOWARDZERO. * config/fpu-aix.h (support_fpu_rounding_mode): Ditto. testsuite/ChangeLog: * gfortran.dg/ieee/ieee_1.F90 (dg-additional-options): Remove -O0. * gfortran.dg/ieee/ieee_rounding_1.f90 (dg-additional-options): Add. From-SVN: r212224 --- gcc/testsuite/ChangeLog | 9 +++++++-- gcc/testsuite/gfortran.dg/ieee/ieee_1.F90 | 2 +- gcc/testsuite/gfortran.dg/ieee/ieee_rounding_1.f90 | 1 + 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'gcc') diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2947c76..b364f40 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-07-02 Uros Bizjak + + * gfortran.dg/ieee/ieee_1.F90 (dg-additional-options): Remove -O0. + * gfortran.dg/ieee/ieee_rounding_1.f90 (dg-additional-options): Add. + 2014-07-02 Paolo Carlini * g++.dg/cpp0x/variadic-ex10.C: Adjust for inform instead of error. @@ -15,8 +20,8 @@ Yufeng Zhang * gcc.target/aarch64/aapcs64/aapcs64.exp: - (additional_flags_for_func_ret): New variable based on $additional_flags - with -fno-use-caller-save. + (additional_flags_for_func_ret): New variable based on + $additional_flags with -fno-use-caller-save. (func-ret-*.c): Use the new variable. 2014-07-01 Paolo Carlini diff --git a/gcc/testsuite/gfortran.dg/ieee/ieee_1.F90 b/gcc/testsuite/gfortran.dg/ieee/ieee_1.F90 index 9c1c4e3..5c1a061 100644 --- a/gcc/testsuite/gfortran.dg/ieee/ieee_1.F90 +++ b/gcc/testsuite/gfortran.dg/ieee/ieee_1.F90 @@ -1,5 +1,5 @@ ! { dg-do run } -! { dg-additional-options "-ffree-line-length-none -O0" } +! { dg-additional-options "-ffree-line-length-none" } ! ! Use dg-additional-options rather than dg-options to avoid overwriting the ! default IEEE options which are passed by ieee.exp and necessary. diff --git a/gcc/testsuite/gfortran.dg/ieee/ieee_rounding_1.f90 b/gcc/testsuite/gfortran.dg/ieee/ieee_rounding_1.f90 index e6bf612..c44178e 100644 --- a/gcc/testsuite/gfortran.dg/ieee/ieee_rounding_1.f90 +++ b/gcc/testsuite/gfortran.dg/ieee/ieee_rounding_1.f90 @@ -1,4 +1,5 @@ ! { dg-do run } +! { dg-additional-options "-mfp-rounding-mode=d" { target alpha*-*-* } } use, intrinsic :: ieee_features, only : ieee_rounding use, intrinsic :: ieee_arithmetic -- cgit v1.1