Skip to content

Commit 2696271

Browse files
committed
Revert "[flang] Treat pre-processed input as fixed (#117563)"
This reverts commit 81d82ca.
1 parent c711c65 commit 2696271

File tree

2 files changed

+0
-26
lines changed

2 files changed

+0
-26
lines changed

clang/lib/Driver/ToolChains/Flang.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -815,13 +815,6 @@ void Flang::ConstructJob(Compilation &C, const JobAction &JA,
815815

816816
addFortranDialectOptions(Args, CmdArgs);
817817

818-
// 'flang -E' always produces output that is suitable for use as fixed form
819-
// Fortran. However it is only valid free form source if the original is also
820-
// free form.
821-
if (InputType == types::TY_PP_Fortran &&
822-
!Args.getLastArg(options::OPT_ffixed_form, options::OPT_ffree_form))
823-
CmdArgs.push_back("-ffixed-form");
824-
825818
handleColorDiagnosticsArgs(D, Args, CmdArgs);
826819

827820
// LTO mode is parsed by the Clang driver library.

flang/test/Driver/pp-fixed-form.f90

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)