Martin Sebor <msebor@xxxxxxxxx> 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