Re: [PATCH] analyzer: Fix -Wanalyzer-possible-null-argument warning

2020-07-16 Thread Nathan Sidwell
On 7/16/20 9:01 AM, Jonathan Wakely wrote: On 06/07/20 11:27 +0100, Jonathan Wakely wrote: On 05/07/20 21:48 -0400, David Malcolm wrote: On Wed, 2020-07-01 at 18:29 +0100, Jonathan Wakely wrote: On 30/06/20 17:43 +0100, Jonathan Wakely wrote: gcc/testsuite/ChangeLog: * g++.dg/analyzer/pr

Re: [PATCH] analyzer: Fix -Wanalyzer-possible-null-argument warning

2020-07-16 Thread Jonathan Wakely via Gcc-patches
On 06/07/20 11:27 +0100, Jonathan Wakely wrote: On 05/07/20 21:48 -0400, David Malcolm wrote: On Wed, 2020-07-01 at 18:29 +0100, Jonathan Wakely wrote: On 30/06/20 17:43 +0100, Jonathan Wakely wrote: gcc/testsuite/ChangeLog: * g++.dg/analyzer/pr94028.C: Make operator new non-throwing

Re: [PATCH] analyzer: Fix -Wanalyzer-possible-null-argument warning

2020-07-06 Thread Jonathan Wakely via Gcc-patches
On 05/07/20 21:48 -0400, David Malcolm wrote: On Wed, 2020-07-01 at 18:29 +0100, Jonathan Wakely wrote: On 30/06/20 17:43 +0100, Jonathan Wakely wrote: > gcc/testsuite/ChangeLog: > >* g++.dg/analyzer/pr94028.C: Make operator new non-throwing so >that the compiler doesn't implicitly mark

Re: [PATCH] analyzer: Fix -Wanalyzer-possible-null-argument warning

2020-07-05 Thread David Malcolm via Gcc-patches
On Wed, 2020-07-01 at 18:29 +0100, Jonathan Wakely wrote: > On 30/06/20 17:43 +0100, Jonathan Wakely wrote: > > gcc/testsuite/ChangeLog: > > > > * g++.dg/analyzer/pr94028.C: Make operator new non-throwing so > > that the compiler doesn't implicitly mark it as returning > > non-null. >

Re: [PATCH] analyzer: Fix -Wanalyzer-possible-null-argument warning

2020-07-01 Thread Nathan Sidwell
On 7/1/20 1:29 PM, Jonathan Wakely wrote: On 30/06/20 17:43 +0100, Jonathan Wakely wrote: gcc/testsuite/ChangeLog: * g++.dg/analyzer/pr94028.C: Make operator new non-throwing so that the compiler doesn't implicitly mark it as returning non-null. Fixes these: FAIL: g++.dg/analyzer/

Re: [PATCH] analyzer: Fix -Wanalyzer-possible-null-argument warning

2020-07-01 Thread Jonathan Wakely via Gcc-patches
On 30/06/20 17:43 +0100, Jonathan Wakely wrote: gcc/testsuite/ChangeLog: * g++.dg/analyzer/pr94028.C: Make operator new non-throwing so that the compiler doesn't implicitly mark it as returning non-null. Fixes these: FAIL: g++.dg/analyzer/pr94028.C -std=c++98 (test for

[PATCH] analyzer: Fix -Wanalyzer-possible-null-argument warning

2020-06-30 Thread Jonathan Wakely via Gcc-patches
gcc/testsuite/ChangeLog: * g++.dg/analyzer/pr94028.C: Make operator new non-throwing so that the compiler doesn't implicitly mark it as returning non-null. Fixes these: FAIL: g++.dg/analyzer/pr94028.C -std=c++98 (test for excess errors) FAIL: g++.dg/analyzer/pr94028.C -