[PATCH] D96032: [flang][driver] Add support for -fopenmp and -fopenacc
Faris Rehman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 9 04:39:25 PST 2021
FarisRehman added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/Flang.cpp:25-26
Args.AddAllArgs(CmdArgs, {options::OPT_ffixed_form, options::OPT_ffree_form,
- options::OPT_ffixed_line_length_EQ});
+ options::OPT_ffixed_line_length_EQ,
+ +options::OPT_fopenmp, options::OPT_fopenacc});
}
----------------
awarzynski wrote:
> `-fopenmp` and `-fopenacc` enable extensions, so they are not dialect options.
I decided to add this here as it is listed under "Fortran Dialect Options" in the gfortran documentation: https://gcc.gnu.org/onlinedocs/gfortran/Fortran-Dialect-Options.html
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96032/new/
https://reviews.llvm.org/D96032
More information about the cfe-commits
mailing list