https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122083
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note I am not going to fix the underlying issue with Wnonnull at this stage. GCC needs to rethink on when the warning happens during the pipeline though. I have not given full thoughts on how fixing and I forgot to bring it up during the cauldron. I wish I had more time to think about it though.
