g:75ff24e1920ea6b198350a2961e23175e6108e75, r11-1697 make -k check-gcc RUNTESTFLAGS=analyzer.exp=g++.dg/analyzer/pr94028.C FAIL: g++.dg/analyzer/pr94028.C -std=c++98 (test for excess errors) FAIL: g++.dg/analyzer/pr94028.C -std=c++14 (test for excess errors) FAIL: g++.dg/analyzer/pr94028.C -std=c++17 (test for excess errors) FAIL: g++.dg/analyzer/pr94028.C -std=c++2a (test for excess errors) Excess errors: /home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/analyzer/pr94028.C:28:21: warning: use of possibly-NULL '<unknown>' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument]
Also these failures: FAIL: g++.dg/cpp1y/lambda-generic-69078-1.C -std=gnu++14 (test for excess errors) FAIL: g++.dg/cpp1y/lambda-generic-69078-1.C -std=gnu++17 (test for excess errors) FAIL: g++.dg/cpp1y/lambda-generic-69078-1.C -std=gnu++2a (test for excess errors)
The failures are also discussed here: https://gcc.gnu.org/pipermail/gcc-patches/2020-June/549179.html The g++.dg/analyzer/pr94028.C failure needs an adjustment to the test. The g++.dg/cpp1y/lambda-generic-69078-1.C ICE was reported in pr96008, a duplicate of pr95984, and needs changes to the C++ front end.
Let me fix up the analyzer test.
I already sent a patch for g++.dg/analyzer/pr94028.C https://gcc.gnu.org/pipermail/gcc-patches/2020-June/549202.html
Reassigning to Jon per comment #4.
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>: https://gcc.gnu.org/g:039a630d787dc18c76b81f08a322ba1e0d91082d commit r11-1769-g039a630d787dc18c76b81f08a322ba1e0d91082d Author: Jonathan Wakely <jwakely@redhat.com> Date: Tue Jun 30 17:40:08 2020 +0100 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.
.
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>: https://gcc.gnu.org/g:75edc31f9ebe7f8b933860981a124f7f0993214b commit r11-2182-g75edc31f9ebe7f8b933860981a124f7f0993214b Author: Jonathan Wakely <jwakely@redhat.com> Date: Thu Jul 16 11:44:32 2020 +0100 analyzer: Use noexcept instead of throw() for C++11 and later (PR 96014) gcc/testsuite/ChangeLog: PR testsuite/96014 * g++.dg/analyzer/pr94028.C: Replace dynamic exception specification with noexcept-specifier for C++11 and later.