[Bug analyzer/105273] -Wanalyzer-use-of-uninitialized-value warns on "missing" default for switch when callers can be statically determined

dmalcolm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 13 22:56:39 GMT 2023


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

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2023-01-13

--- Comment #8 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Should be fixed on trunk for GCC 13 by the above commit.

I hope to backport this to GCC 12; keeping this bug open to track that.


More information about the Gcc-bugs mailing list