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

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Ilya Maximets from comment #10)
> Doesn't sound very intuitive.  I guess, it's easier to just add a NULL
> pointer
> check after the loop, i.e. ovs_list_insert(pos ? &pos->elem : &start, ...).

That would be certainly cleaner.

Reply via email to