https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34678

--- Comment #33 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Stefan Vigerske from comment #32)
> Is there any hope this could actually be improved?
> Now, 10 years later, the FENV_ACCESS pragma seems to be implemented, but the
> problem here seems to persist.

The pragma still has no effect (not sure if we would be allowed to diagnose
that
fact).

Nobody stepped up with a poor-mans "solution" to the issue (not sure if there
even exists one) and a complete solution is not even on a drawing board.

Other people running into this issue live with inserting compiler-barriers
like

__asm__("# %0" : "=r" (x) : "0" (x));

for hiding 'x' from the compiler across this point.

Reply via email to