http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58721

Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Joost.VandeVondele at mat dot 
ethz
                   |                            |.ch

--- Comment #13 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> 
---
(In reply to Jan Hubicka from comment #11)
> Fortran fronend should probably stop using builtin_expect where we can
> derive the same info from noreturn (as it seems to be the case here), but it
> is not always.

Actually, I would argue that the middle-end should be smart enough to give a
branch that is guaranteed to never return a negligible probability (independent
of the builtin_expect). It can only be mis-predicted once.

Reply via email to