Skip to content

Flang driver compiler options request #89888

@jeffhammond

Description

@jeffhammond

The Flang and Clang drivers are separate but many Clang flags make sense for Flang, because they are not language specific. Here is a list of flags that Flang should support.

As these are documented on https://clang.llvm.org/docs/ClangCommandLineReference.html, I will only list the option, not what it does.

currently known to be blocking, e.g. in Spack and CMake use cases

  • -w, --no-warnings
  • -mtune
  • -Qunused-arguments

not known to be blockers but things I use regularly

  • -Wl and -Xlinker
  • -framework (MacOS-specific AFAIK)
  • -time
  • -static-openmp

code generation flags that have known utility

  • -mno-gather
  • -mno-scatter
  • -mrecip

Metadata

Metadata

Assignees

No one assigned

    Labels

    flang:drivermetaissueIssue to collect references to a group of similar or related issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions