https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104082
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >I've no idea why the warning is generated, the code looks legal to me The warning is generated even though the code is valid, if someone deferences metricp after the call to s88, the code becomes undefined. It is designed to warn about that case. Why the warning is duplicated I have no idea.