[Bug middle-end/91490] [9 Regression] bogus argument missing terminating nul warning on strlen of a flexible array member

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 22 23:23:00 GMT 2019


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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[9/10 Regression] bogus     |[9 Regression] bogus
                   |argument missing            |argument missing
                   |terminating nul warning on  |terminating nul warning on
                   |strlen of a flexible array  |strlen of a flexible array
                   |member                      |member

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
Fixed in r274837.  I'm not sure this should be backported.  It suppresses bogus
warnings but also introduces new warnings for invalid code.


More information about the Gcc-bugs mailing list