https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90293
--- Comment #4 from Zev Weiss ---
I have no idea about the relative ease of implementation, but might it at least
partially suffice for the compiler to propagate the information provided by
__builtin_expect() beyond the expression it appears in?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90293
Martin Liška changed:
What|Removed |Added
CC||marxin at gcc dot gnu.org
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90293
Martin Sebor changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org
Sever
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90293
--- Comment #1 from Daniel Fruzynski ---
One more case: sometimes it may be more handy to specify what will *not* be
usually returned, e.g. special invalid value. For such cases another attribute
would be needed:
__attribute__((expect_not_return