[Bug middle-end/87041] [8 Regression] GCC 8 regression: -Wformat "reading through null pointer" on unreachable code

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 30 22:04:00 GMT 2018


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to work|                            |7.3.0, 9.0
         Resolution|---                         |FIXED
   Target Milestone|8.3                         |9.0
            Summary|[8/9 Regression] GCC 8      |[8 Regression] GCC 8
                   |regression: -Wformat        |regression: -Wformat
                   |"reading through null       |"reading through null
                   |pointer" on unreachable     |pointer" on unreachable
                   |code                        |code
      Known to fail|                            |8.2.0

--- Comment #11 from Martin Sebor <msebor at gcc dot gnu.org> ---
Patch committed to trunk in r265648.  It's too intrusive to backport to GCC 8
so I'll resolve it as fixed.


More information about the Gcc-bugs mailing list