https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104119
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> ---
The warning has been avoided in this case by using the size of the source array
as the upper bound. The heuristic the warning uses is still in place so when
the size of the source array isn't known (e.g., when it's a flexible array
member) it will still trigger.