]> git.ipfire.org Git - thirdparty/gcc.git/commit
analyzer: Fix -Wanalyzer-possible-null-argument warning (PR 96014)
authorJonathan Wakely <jwakely@redhat.com>
Tue, 30 Jun 2020 16:40:08 +0000 (17:40 +0100)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 16:15:46 +0000 (13:15 -0300)
commit732961dea2e59e5186901843c9c3d636f7a48a51
tree1ae2816bc7b0e4d4e382e723d286b27364f5d9b4
parent9ac4be4a86b3650fa3d5c99addde13802a9896ed
analyzer: Fix -Wanalyzer-possible-null-argument warning (PR 96014)

gcc/testsuite/ChangeLog:

PR testsuite/96014
* g++.dg/analyzer/pr94028.C: Make operator new non-throwing so
that the compiler doesn't implicitly mark it as returning
non-null.
gcc/testsuite/g++.dg/analyzer/pr94028.C