Issue 143939
Summary How to pass clang options to clang-cl?
Labels clang
Assignees
Reporter dmenendez-gruposantander
    Hi all, 

I am compiling on Windows using `clang-cl` and I am passing option `/fp:contract` to the compiler.

However, the behavior I really would like (*) is that of `-ffp-contract=fast`, but I seem unable to get that behavior from clang-cl, complaining that it does not recognize that option:

```
> clang-cl -ffp-contract=fast
clang-cl: warning: unknown argument ignored in clang-cl: '-ffp-contract=fast' [-Wunknown-argument]
```

Any help appreciated!
Thanks in advance

(*) to match the behavior of `msvc` with `/fp:contract` and the behavior of `clang` with `-ffp-contract=fast`, as seen here [https://godbolt.org/z/PoxYohYsY](url)
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to