I have a few more comments:
I think -module or -module-directory is a better name than -J for that option. Of course -J can also be supported as an alternative for compatibility.
Also, gfortran's -J also adds the directory to those to search for .mod files while flang's -module only set the output directory. I think gfortran's behavior makes more sense.
I don't think -module-suffix is useful in the new driver. Once flang can generate code the testing approach of using another compiler to generate code will be obsolete. Until then, the f18.cpp driver can be used for those tests.
-std=f2018 doesn't mean the same thing to me as -Mstandard. The former implies you can choose which Fortran standard to enforce while the latter is about how strictly it is enforced. I don't think -std should be used until there are at least two versions of the standard that can be enforced.
Tim
External email: Use caution opening links or attachments
I've just updated the spreadsheet based on the feedback on Slack
(flang-compiler.slack.com):
* Removed `-cpp`/`-nocpp` (as per
http://flang.llvm.org/docs/Parsing.html, the preprocessor is always run)
* Added `-futf-8` and `-flatin`
* Replaced `std=<standard>` with `-std=f2018` ("flang' spelling:
"-Mstandard")
* Added `-I` (it should be there from the start)
Please comment either here or on Slack.
-Andrzej