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".
Details
Details
- Reviewers
jeanPerier - Commits
- rGd70098898463: [flang] Improve warning message
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Evaluate/folding04.f90 still seems to fail after your patch update. It seems llvm buildbots run yield "overflow" errors and not "division by zero" errors in clog((0., 0.)) and others. Could it be a difference in what the underlying runtime math library is signaling when folding ?
Comment Actions
I can make the test specific to x86, or I can make the error messages more generic ("floating-point exception") just to make the test pass.