This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/68272] Unwanted out-of-line instances for C inline functions that are also GCC builtins.


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68272

--- Comment #8 from Sergey Organov <sorganov at gmail dot com> ---
That's exactly the problem: why builtins are (implicitly) declared "extern
inline" in C99 compilation mode? It seems logical to rather declare them
"inline" in this mode. 

Overall, even though my own issue is indeed solved by using 
__attribute__((gnu_inline)), this issue still seems to be an unfortunate
inconsistency in GCC.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]