+2014-07-02 Uros Bizjak <ubizjak@gmail.com>
+
+ * 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 <paolo.carlini@oracle.com>
* g++.dg/cpp0x/variadic-ex10.C: Adjust for inform instead of error.
Yufeng Zhang <yufeng.zhang@arm.com>
* 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 <paolo.carlini@oracle.com>
! { 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.
! { dg-do run }
+! { dg-additional-options "-mfp-rounding-mode=d" { target alpha*-*-* } }
use, intrinsic :: ieee_features, only : ieee_rounding
use, intrinsic :: ieee_arithmetic
+2014-07-02 Uros Bizjak <ubizjak@gmail.com>
+
+ * 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.
+
2014-06-29 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* config/fpu-387.h (my_fenv_t): Amend structure so it also works
PR libgfortran/61640
* io/list_read.c (next_char_internal): Adjust the read length to
- a single wide character. (eat_spaces): Add missing paren.
+ a single wide character. (eat_spaces): Add missing paren.
* io/unix.c (mem_read4): Use the correct mem_alloc function for
wide character internal reads.
return 0;
#endif
+ case GFC_FPE_UPWARD:
#ifdef FE_UPWARD
return 1;
#else
return 0;
#endif
+ case GFC_FPE_DOWNWARD:
#ifdef FE_DOWNWARD
return 1;
#else
return 0;
#endif
+ case GFC_FPE_TOWARDZERO:
#ifdef FE_TOWARDZERO
return 1;
#else
return 0;
#endif
+ case GFC_FPE_UPWARD:
#ifdef FE_UPWARD
return 1;
#else
return 0;
#endif
+ case GFC_FPE_DOWNWARD:
#ifdef FE_DOWNWARD
return 1;
#else
return 0;
#endif
+ case GFC_FPE_TOWARDZERO:
#ifdef FE_TOWARDZERO
return 1;
#else
# Some targets require additional compiler options for NaN/Inf.
ieee_flags=
case "${host_cpu}" in
+ alpha*)
+ ieee_flags="-mieee" ;;
sh*)
ieee_flags="-mieee" ;;
esac