[Bug middle-end/94647] [10 Regression] bogus -Warray-bounds on strncpy into a larger member array from a smaller array

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 20 07:01:16 GMT 2020


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |10.0

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think this is also about trailing arrays not appropriately handled since
clearly s->string can be bigger than 256 chars.


More information about the Gcc-bugs mailing list