https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85799
--- Comment #8 from Martin Liška ---
So what happens, pass_strip_predict_hints is called as last
pass_all_early_optimizations pass. That's called for first function. Then the
second one goes through einline pass, but in this time the first one is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85799
Martin Liška changed:
What|Removed |Added
Status|NEW |ASSIGNED
--- Comment #7 from Martin Liška
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85799
--- Comment #6 from Jonathan Wakely ---
Using macros is not an acceptable solution for idiomatic C++.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85799
Martin Liška changed:
What|Removed |Added
Priority|P3 |P4
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85799
--- Comment #4 from Jan Hubicka ---
> I believe inlining is happening too late for it to have an effect - we are
> early inlining a body which has the __builtin_expect replaced by nothing.
>
> Iff the expected outcome is "constant" a new functio
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85799
Martin Liška changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85799
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85799
--- Comment #1 from Mathias Stearn ---
LLVM bug: https://bugs.llvm.org/show_bug.cgi?id=37476