Signed zero for {max,min}val intrinsics
authorJanne Blomqvist <jb@gcc.gnu.org>
Thu, 23 Aug 2018 08:35:17 +0000 (11:35 +0300)
committerJanne Blomqvist <jb@gcc.gnu.org>
Thu, 23 Aug 2018 08:35:17 +0000 (11:35 +0300)
commit9c44db9f23e7f3ce713a7b78195fc91b002ead11
treec93de882bbf966319823abe0489a97710c6f1c99
parent0aa2934aaa0e22917cfb32a8478c3d973eff8969
Signed zero for {max,min}val intrinsics

The Fortran standard specifies (e.g. F2018 7.4.3.2) that intrinsic
procedures shall treat positive and negative real zero as equivalent,
unless it is explicitly specified otherwise.  For {max,min}val there
is no such explicit mention.  Thus, remove code to handle signed
zeros.

2018-08-23  Janne Blomqvist  <blomqvist.janne@gmail.com>

* trans-intrinsic.c (gfc_conv_intrinsic_minmaxval): Delete
HONOR_SIGNED_ZEROS checks.

From-SVN: r263802
gcc/fortran/ChangeLog
gcc/fortran/trans-intrinsic.c