https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94840
Dudu <dudu.arbel at ilrd dot co.il> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED
--- Comment #2 from Dudu <dudu.arbel at ilrd dot co.il> ---
(In reply to Andrew Pinski from comment #1)
> The variable definition inside foo declares an auto (local scope) variable.
> The original variable declaration is not used so it is never referenced so
> there is no linker failure.
right. thanks