This is the mail archive of the gcc-help@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]

Re: C inlines that are also builtins.


Martin Sebor <msebor@gmail.com> writes:


[...]

>> The point is that for builtin functions it apparently does it wrong.
>
> I see. Yes, that does look like a bug. symtab_node::needed_p()
> returns false for an ordinary inline function but true for one
> that has a builtin. I didn't spend enough time debugging this
> to see what sets it and why, and I couldn't find any tests for
> this to confirm that it's deliberate.

[...]

> In any event, you should probably open a bug so that someone who
> knows more about the implementation than I do can say for sure.

Tanks, here is the bug report:

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

-- Sergey


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