Skip to content

Commit 9e0bc92

Browse files
vjayathirtha-nvschweitzpgi
authored andcommitted
Fix bug in ieee flag generation
1 parent 81f6de4 commit 9e0bc92

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/Driver/ToolChains/Flang.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,10 @@ void FlangFrontend::ConstructJob(Compilation &C, const JobAction &JA,
537537
// Lower: -ieee 0
538538
LowerCmdArgs.push_back("-ieee");
539539
LowerCmdArgs.push_back("0");
540+
} else {
541+
// Lower: -ieee 0
542+
LowerCmdArgs.push_back("-ieee");
543+
LowerCmdArgs.push_back("0");
540544
}
541545

542546
/***** Upper part of the Fortran frontend *****/

0 commit comments

Comments
 (0)