https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116191
--- Comment #5 from ilija.tovilo ---
That's true ofc, but if you look at the example:
__attribute__((cold)) extern void cold_func(void);
Simply removing the cold attribute will cause zend_string_release() to be
inlined, so it is indeed involve
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116191
--- Comment #3 from ilija.tovilo ---
(In reply to Andi Kleen from comment #2)
> I suppose it depends on the programing style if it's a good idea. Sometimes
> inlining allows to constant propagate and collapse a lot of code, and you
> definitely
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116191
Bug ID: 116191
Summary: Avoid inlining in unlikely branches
Product: gcc
Version: 14.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c