diff options
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | flang/lib/Frontend/CompilerInvocation.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/flang/lib/Frontend/CompilerInvocation.cpp b/flang/lib/Frontend/CompilerInvocation.cpp index 043c352..4ae35762 100644 --- a/flang/lib/Frontend/CompilerInvocation.cpp +++ b/flang/lib/Frontend/CompilerInvocation.cpp @@ -957,5 +957,10 @@ void CompilerInvocation::setLoweringOptions() { mathOpts .setFPContractEnabled(langOptions.getFPContractMode() == LangOptions::FPM_Fast) - .setNoHonorInfs(langOptions.NoHonorInfs); + .setNoHonorInfs(langOptions.NoHonorInfs) + .setNoHonorNaNs(langOptions.NoHonorNaNs) + .setApproxFunc(langOptions.ApproxFunc) + .setNoSignedZeros(langOptions.NoSignedZeros) + .setAssociativeMath(langOptions.AssociativeMath) + .setReciprocalMath(langOptions.ReciprocalMath); } |