[PATCH] D87528: Enable '#pragma STDC FENV_ACCESS' in frontend cf. D69272 - Work in Progress

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 9 23:07:18 PDT 2020


rjmccall added a comment.

The GCC docs seem pretty clear that `-frounding-math` is meant to allow dynamic access to the FP environment.  There might be optimizations that are perfectly legal with a constant but non-default rounding mode, and there might be some flag that only implies that weaker constraint, but `-frounding-math` needs to turn `FENV_ACCESS` on by default.


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