This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/84077] [7/8 Regression] Likely wrong code with `__builtin_expect()` on i686-linux-gnu
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 10 Feb 2018 09:40:56 +0000
- Subject: [Bug target/84077] [7/8 Regression] Likely wrong code with `__builtin_expect()` on i686-linux-gnu
- Auto-submitted: auto-generated
- References: <bug-84077-4@http.gcc.gnu.org/bugzilla/>
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.