[Bug middle-end/87489] [8/9/10/11 Regression] Spurious -Wnonnull warning

law at redhat dot com gcc-bugzilla@gcc.gnu.org
Thu Feb 18 16:20:47 GMT 2021


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

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|msebor at gcc dot gnu.org          |law at gcc dot gnu.org
   Target Milestone|11.0                        |12.0

--- Comment #15 from Jeffrey A. Law <law at redhat dot com> ---
I'm explicitly pushing this out of gcc-11.  As I've mentioned in the thread for
Martin's patch, reordering passes is generally not the right approach to
solving most issues.

I've got a proof-of-concept improvement to the jump threader that nearly
catches this case that I'm attaching to this case so it doesn't get lost.  The
most important missing bit in that patch is when we have two statements in a
block that must be considered, it gives up.  While that was a reasonable
limitation in the past, it's one we need to fix anyway and this BZ is a good
motivator.

While I'm confident that could be fixed and that we'd handle this issue, I'm
not comfortable dropping in improvements like this into gcc-11 at this stage. 
Hence the explicit deferment to gcc-12.


More information about the Gcc-bugs mailing list