%flang-new was introduced in the early days of the new driver to make
a clear distinction between the tests for the current and the new
driver. We have since introduced %flang (compiler driver) and
%flang_fc1 (frontend driver) as the long term solution. This has allowed
us to share tests between flang-new and f18. This patch replaces
all uses of %flang-new with %flang and %flang_fc1.
Some tests are reformatted so that all tests look uniform and are easier
to follow. Where possible, ! REQUIRES: new-flang-driver is deleted so
that more tests can be shared with f18. To facilitate this,
f{no-}implicit-none are introduced in f18 with semantics identical
to flang-new.
Two tests are deleted rather than updated:
- flang/test/Frontend/print-preprocess-C-file.f90
- flang/test/Frontend/print-preprocessed-file.f90
Instead, there is plenty of preprocessor tests in
flang/test/Preprocessing/.
For frontend-only options, RUN lines with the compiler driver are deleted
so that the corresponding files test the frontend functionality rather then
the handling of the corresponding options in the compiler driver. We ought to
introduce a dedicated test for this.