ieee_6.f90: Allow inexact together with underflow.
* gfortran.dg/ieee/ieee_6.f90: Allow inexact together with underflow. From-SVN: r212120
This commit is contained in:
parent
b82fe35410
commit
f8d0f47bbb
@ -1,3 +1,8 @@
|
|||||||
|
2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
|
||||||
|
|
||||||
|
* gfortran.dg/ieee/ieee_6.f90: Allow inexact together with
|
||||||
|
underflow.
|
||||||
|
|
||||||
2014-06-28 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
|
2014-06-28 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
|
||||||
|
|
||||||
PR fortran/29383
|
PR fortran/29383
|
||||||
|
@ -40,7 +40,9 @@
|
|||||||
|
|
||||||
call ieee_get_flag(ieee_all, flags)
|
call ieee_get_flag(ieee_all, flags)
|
||||||
if (.not. (all(flags .eqv. [.false.,.false.,.true.,.true.,.false.]) &
|
if (.not. (all(flags .eqv. [.false.,.false.,.true.,.true.,.false.]) &
|
||||||
.or. all(flags .eqv. [.false.,.false.,.true.,.false.,.false.]))) call abort
|
.or. all(flags .eqv. [.false.,.false.,.true.,.true.,.true.]) &
|
||||||
|
.or. all(flags .eqv. [.false.,.false.,.true.,.false.,.false.]) &
|
||||||
|
.or. all(flags .eqv. [.false.,.false.,.true.,.false.,.true.]))) call abort
|
||||||
call ieee_get_rounding_mode(mode)
|
call ieee_get_rounding_mode(mode)
|
||||||
if (mode /= ieee_to_zero) call abort
|
if (mode /= ieee_to_zero) call abort
|
||||||
call ieee_get_halting_mode(ieee_all, halt)
|
call ieee_get_halting_mode(ieee_all, halt)
|
||||||
@ -50,7 +52,9 @@
|
|||||||
|
|
||||||
call ieee_get_flag(ieee_all, flags)
|
call ieee_get_flag(ieee_all, flags)
|
||||||
if (.not. (all(flags .eqv. [.false.,.false.,.true.,.true.,.false.]) &
|
if (.not. (all(flags .eqv. [.false.,.false.,.true.,.true.,.false.]) &
|
||||||
.or. all(flags .eqv. [.false.,.false.,.true.,.false.,.false.]))) call abort
|
.or. all(flags .eqv. [.false.,.false.,.true.,.true.,.true.]) &
|
||||||
|
.or. all(flags .eqv. [.false.,.false.,.true.,.false.,.false.]) &
|
||||||
|
.or. all(flags .eqv. [.false.,.false.,.true.,.false.,.true.]))) call abort
|
||||||
call ieee_get_rounding_mode(mode)
|
call ieee_get_rounding_mode(mode)
|
||||||
if (mode /= ieee_to_zero) call abort
|
if (mode /= ieee_to_zero) call abort
|
||||||
call ieee_get_halting_mode(ieee_all, halt)
|
call ieee_get_halting_mode(ieee_all, halt)
|
||||||
@ -69,7 +73,9 @@
|
|||||||
|
|
||||||
call ieee_get_flag(ieee_all, flags)
|
call ieee_get_flag(ieee_all, flags)
|
||||||
if (.not. (all(flags .eqv. [.false.,.false.,.true.,.true.,.false.]) &
|
if (.not. (all(flags .eqv. [.false.,.false.,.true.,.true.,.false.]) &
|
||||||
.or. all(flags .eqv. [.false.,.false.,.true.,.false.,.false.]))) call abort
|
.or. all(flags .eqv. [.false.,.false.,.true.,.true.,.true.]) &
|
||||||
|
.or. all(flags .eqv. [.false.,.false.,.true.,.false.,.false.]) &
|
||||||
|
.or. all(flags .eqv. [.false.,.false.,.true.,.false.,.true.]))) call abort
|
||||||
call ieee_get_rounding_mode(mode)
|
call ieee_get_rounding_mode(mode)
|
||||||
if (mode /= ieee_to_zero) call abort
|
if (mode /= ieee_to_zero) call abort
|
||||||
call ieee_get_halting_mode(ieee_all, halt)
|
call ieee_get_halting_mode(ieee_all, halt)
|
||||||
|
Loading…
Reference in New Issue
Block a user