https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113203
Richard Biener changed:
What|Removed |Added
Keywords||documentation
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113203
--- Comment #4 from Stefan Krah ---
> Or, if the intention is that all calls to the function within its TU
> are inlined and not the other ones, split the function into two, one
> always_inline which is used from within the TU and another one
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113203
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113203
--- Comment #2 from Andrew Pinski ---
I am not 100% sure if this is a bug here since you are requesting across TU
always_inline but at -Og, that is basically not enabled.
Maybe not use always_inline for -O0 and -Og builds?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113203
--- Comment #1 from Andrew Pinski ---
I thought there was another bug related to using always_inline and LTO.