Issue |
104830
|
Summary |
clang asserts with ffp-contract=fast-honor-pragmas
|
Labels |
clang,
floating-point
|
Assignees |
|
Reporter |
andykaylor
|
When I use "#pragma STDC FP_CONTRACT DEFAULT" and compile with "-ffp-contract=fast-honor-pragmas", clang asserts.
```
float f(float a, float b, float c) {
#pragma STDC FP_CONTRACT DEFAULT
return a * b + c;
}
```
See:
https://godbolt.org/z/EqE6Kn6Wf
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs