https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425
--- Comment #82 from Segher Boessenkool <segher at gcc dot gnu.org> --- (In reply to rusty from comment #81) > Not many function returns are as clearly required as realloc... Then they shouldn't use warn_unused_result! The documentation of that is very very clear: both about what it does, and about what situations it is meant for. People who want something else should *use* something else! (I have no opinion about what that should be called, or what shape it should take, I have no interest in warnings like that, I can't imagine ever using such a warning or marking up code for it. The existing w_u_r is very obviously very useful though, as it is, and should not be weakened in any way).