C inlines that are also builtins.
Sergey Organov
sorganov@gmail.com
Tue Nov 10 11:54:00 GMT 2015
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
More information about the Gcc-help
mailing list