Until now, f18 would:
- Use Flang to unparse the input files
- Call an external Fortran compiler to compile the unparsed source files (generated in step 1)
With this patch, f18 will stop after unparsing the input source files,
i.e. step 1 above. The flang bash script will take care of step 2,
i.e. calling an external Fortran compiler driver to compile them. This
way:
- the functionality of f18 is reduced - it will only drive Flang (as opposed to delegating code-generation to an external tool on top of this)
- we will able to switch between f18 and flang-new for unparsing before an external Fortran compiler is called for code-generation
These changes were discussed in [1] as a requirement for replacing f18
with flang-new.
[1] https://lists.llvm.org/pipermail/flang-dev/2021-April/000677.html
Nit: wouldn't a single blank line be good enough?