]> git.ipfire.org Git - thirdparty/gcc.git/commit
Signed zero for {max,min}val intrinsics
authorjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Aug 2018 08:35:17 +0000 (08:35 +0000)
committerjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Aug 2018 08:35:17 +0000 (08:35 +0000)
commit5654cf465a36552f25794bb3f80241411439259e
treec93de882bbf966319823abe0489a97710c6f1c99
parent1dce029ca153a2fcd8adeff0233f8aa190a91be1
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263802 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-intrinsic.c