[flang] IEEE_ARITHMETIC must imply USE IEEE_EXCEPTIONS
authorPeter Klausler <pklausler@nvidia.com>
Fri, 11 Mar 2022 18:17:04 +0000 (10:17 -0800)
committerPeter Klausler <pklausler@nvidia.com>
Mon, 14 Mar 2022 17:41:28 +0000 (10:41 -0700)
commitb6a7600491d755f6f700fe245b2fc7b928264c58
treedfacb369668a56e1614d7b10a54995c163612105
parentc231deb791672720cf1935150b99e6deffaf4843
[flang] IEEE_ARITHMETIC must imply USE IEEE_EXCEPTIONS

The intrinsic module IEEE_ARITHMETIC must incorporate the public
names from the intrisic module IEEE_EXCEPTIONS.  Rename IEEE_EXCEPTIONS
to __Fortran_ieee_exceptions so that it won't clash with the
nonintrinsic namespace, establish a new intrinic IEEE_EXCEPTIONS
module that USEs it, and add a USE to IEEE_ARITHMETIC.

Differential Revision: https://reviews.llvm.org/D121490
flang/lib/Semantics/check-do-forall.cpp
flang/module/__fortran_ieee_exceptions.f90 [new file with mode: 0644]
flang/module/ieee_arithmetic.f90
flang/module/ieee_exceptions.f90
flang/tools/f18/CMakeLists.txt