[PATCH] D87528: Enable '#pragma STDC FENV_ACCESS' in frontend cf. D69272 - Work in Progress
Serge Pavlov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 6 07:51:40 PDT 2020
sepavloff added a comment.
In D87528#2312230 <https://reviews.llvm.org/D87528#2312230>, @mibintc wrote:
> For the LIT test clang/test/AST/const-fpfeatures.cpp, currently failing in this patch, the variables V1 and others are initialized via call to "global var init" which performs the rounding at execution time, I think that's correct not certain.
This file does not contain `pragma STDC FENV_ACCESS`. As for using `pragma STDC FENV_ROUND` in constexpr functions, I don't see any reason to prohibit it.
Could it be a result of setting rounding mode to `dynamic`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87528/new/
https://reviews.llvm.org/D87528
More information about the cfe-commits
mailing list