[flang] Improve warning message
authorPeter Klausler <pklausler@nvidia.com>
Wed, 12 Oct 2022 17:24:23 +0000 (10:24 -0700)
committerPeter Klausler <pklausler@nvidia.com>
Tue, 1 Nov 2022 17:01:27 +0000 (10:01 -0700)
commitd700988984635f680245a03325e94c821b87f026
treeaabc93ac5dc31d46ce9964b7d0b7ca4b9faeef35
parentc97035c49d941e5b196a938f0393f811d1adbd57
[flang] Improve warning message

When a floating-point exception occurs while folding an exponentiation
operation with a host library at compilation time, the warning message
should not say that it was an "intrinsic function".

Differential Revision: https://reviews.llvm.org/D137030
flang/lib/Evaluate/host.cpp
flang/test/Evaluate/folding04.f90