Jakub Jelinek wrote:
I mean, if we want to add something, maybe better would an -include like option that instead of including a file includes it directly. gcc --include-inline '#pragma omp requires unified_shared_memory' ...
Likewise for Fortran, but there the question is whether it should be in the use-stmt, import-stmt, implicit-part or declaration-part; I guess having one --include-inline-use-stmt and --include-inline-declaration would make sense …
And, I guess, multiple flags should be permitted, which can then be processed as separate lines.
Tobias