[Bug target/84077] [7/8 Regression] Likely wrong code with `__builtin_expect()` on i686-linux-gnu

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Feb 10 12:37:00 GMT 2018


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Besides inline asm barriers another option is volatile {float,double} vars in
certain spots (to ensure rounding to {float,double} where required).  And
again, you don't need to do anything if FLT_EVAL_METHOD is 0, or for double
computations also if FLT_EVAL_METHOD is 1.


More information about the Gcc-bugs mailing list