Skip to content

Commit e76692d

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

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
@@ -803,13 +803,6 @@ void Flang::ConstructJob(Compilation &C, const JobAction &JA,
803803

804804
addFortranDialectOptions(Args, CmdArgs);
805805

806-
// 'flang -E' always produces output that is suitable for use as fixed form
807-
// Fortran. However it is only valid free form source if the original is also
808-
// free form.
809-
if (InputType == types::TY_PP_Fortran &&
810-
!Args.getLastArg(options::OPT_ffixed_form, options::OPT_ffree_form))
811-
CmdArgs.push_back("-ffixed-form");
812-
813806
handleColorDiagnosticsArgs(D, Args, CmdArgs);
814807

815808
// 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)