https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96598
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by David Malcolm <dmalc...@gcc.gnu.org>: https://gcc.gnu.org/g:2ec32ddf822887cddc8910ed30dc105890def4ee commit r11-2695-g2ec32ddf822887cddc8910ed30dc105890def4ee Author: David Malcolm <dmalc...@redhat.com> Date: Thu Aug 13 15:11:10 2020 -0400 analyzer: add regression test [PR96598] PR analyzer/96598 reports that -fanalyzer issues a false warning: use of NULL 'str' where non-null expected with gcc 10.2 when used with -fsanitize=undefined. This was fixed by g:808f4dfeb3a95f50f15e71148e5c1067f90a126d. gcc/testsuite/ChangeLog: PR analyzer/96598 * gcc.dg/analyzer/pr96598.c: New test.