public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/96014] New: [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697
@ 2020-06-30 22:18 seurer at linux dot vnet.ibm.com
  2020-06-30 23:34 ` [Bug testsuite/96014] " seurer at linux dot vnet.ibm.com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: seurer at linux dot vnet.ibm.com @ 2020-06-30 22:18 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96014

            Bug ID: 96014
           Summary: [11 regression] g++.dg/analyzer/pr94028.C excess
                    errors starting with r11-1697
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at linux dot vnet.ibm.com
  Target Milestone: ---

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]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug testsuite/96014] [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697
  2020-06-30 22:18 [Bug testsuite/96014] New: [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697 seurer at linux dot vnet.ibm.com
@ 2020-06-30 23:34 ` seurer at linux dot vnet.ibm.com
  2020-07-01  0:11 ` msebor at gcc dot gnu.org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: seurer at linux dot vnet.ibm.com @ 2020-06-30 23:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96014

--- Comment #1 from Bill Seurer <seurer at linux dot vnet.ibm.com> ---
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)

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug testsuite/96014] [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697
  2020-06-30 22:18 [Bug testsuite/96014] New: [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697 seurer at linux dot vnet.ibm.com
  2020-06-30 23:34 ` [Bug testsuite/96014] " seurer at linux dot vnet.ibm.com
@ 2020-07-01  0:11 ` msebor at gcc dot gnu.org
  2020-07-01  0:15 ` msebor at gcc dot gnu.org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: msebor at gcc dot gnu.org @ 2020-07-01  0:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96014

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2020-07-01
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug testsuite/96014] [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697
  2020-06-30 22:18 [Bug testsuite/96014] New: [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697 seurer at linux dot vnet.ibm.com
  2020-06-30 23:34 ` [Bug testsuite/96014] " seurer at linux dot vnet.ibm.com
  2020-07-01  0:11 ` msebor at gcc dot gnu.org
@ 2020-07-01  0:15 ` msebor at gcc dot gnu.org
  2020-07-01  6:51 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: msebor at gcc dot gnu.org @ 2020-07-01  0:15 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96014

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
           Assignee|unassigned at gcc dot gnu.org      |msebor at gcc dot gnu.org
             Status|NEW                         |ASSIGNED

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
Let me fix up the analyzer test.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug testsuite/96014] [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697
  2020-06-30 22:18 [Bug testsuite/96014] New: [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697 seurer at linux dot vnet.ibm.com
                   ` (2 preceding siblings ...)
  2020-07-01  0:15 ` msebor at gcc dot gnu.org
@ 2020-07-01  6:51 ` rguenth at gcc dot gnu.org
  2020-07-01  9:54 ` redi at gcc dot gnu.org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-07-01  6:51 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96014

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug testsuite/96014] [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697
  2020-06-30 22:18 [Bug testsuite/96014] New: [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697 seurer at linux dot vnet.ibm.com
                   ` (3 preceding siblings ...)
  2020-07-01  6:51 ` rguenth at gcc dot gnu.org
@ 2020-07-01  9:54 ` redi at gcc dot gnu.org
  2020-07-01 14:53 ` msebor at gcc dot gnu.org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: redi at gcc dot gnu.org @ 2020-07-01  9:54 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96014

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I already sent a patch for g++.dg/analyzer/pr94028.C

https://gcc.gnu.org/pipermail/gcc-patches/2020-June/549202.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug testsuite/96014] [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697
  2020-06-30 22:18 [Bug testsuite/96014] New: [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697 seurer at linux dot vnet.ibm.com
                   ` (4 preceding siblings ...)
  2020-07-01  9:54 ` redi at gcc dot gnu.org
@ 2020-07-01 14:53 ` msebor at gcc dot gnu.org
  2020-07-01 19:21 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: msebor at gcc dot gnu.org @ 2020-07-01 14:53 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96014

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|msebor at gcc dot gnu.org          |redi at gcc dot gnu.org

--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
Reassigning to Jon per comment #4.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug testsuite/96014] [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697
  2020-06-30 22:18 [Bug testsuite/96014] New: [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697 seurer at linux dot vnet.ibm.com
                   ` (5 preceding siblings ...)
  2020-07-01 14:53 ` msebor at gcc dot gnu.org
@ 2020-07-01 19:21 ` cvs-commit at gcc dot gnu.org
  2020-07-01 20:48 ` redi at gcc dot gnu.org
  2020-07-16 20:24 ` cvs-commit at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-07-01 19:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96014

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug testsuite/96014] [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697
  2020-06-30 22:18 [Bug testsuite/96014] New: [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697 seurer at linux dot vnet.ibm.com
                   ` (6 preceding siblings ...)
  2020-07-01 19:21 ` cvs-commit at gcc dot gnu.org
@ 2020-07-01 20:48 ` redi at gcc dot gnu.org
  2020-07-16 20:24 ` cvs-commit at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: redi at gcc dot gnu.org @ 2020-07-01 20:48 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96014

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug testsuite/96014] [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697
  2020-06-30 22:18 [Bug testsuite/96014] New: [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697 seurer at linux dot vnet.ibm.com
                   ` (7 preceding siblings ...)
  2020-07-01 20:48 ` redi at gcc dot gnu.org
@ 2020-07-16 20:24 ` cvs-commit at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-07-16 20:24 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96014

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-07-16 20:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-30 22:18 [Bug testsuite/96014] New: [11 regression] g++.dg/analyzer/pr94028.C excess errors starting with r11-1697 seurer at linux dot vnet.ibm.com
2020-06-30 23:34 ` [Bug testsuite/96014] " seurer at linux dot vnet.ibm.com
2020-07-01  0:11 ` msebor at gcc dot gnu.org
2020-07-01  0:15 ` msebor at gcc dot gnu.org
2020-07-01  6:51 ` rguenth at gcc dot gnu.org
2020-07-01  9:54 ` redi at gcc dot gnu.org
2020-07-01 14:53 ` msebor at gcc dot gnu.org
2020-07-01 19:21 ` cvs-commit at gcc dot gnu.org
2020-07-01 20:48 ` redi at gcc dot gnu.org
2020-07-16 20:24 ` cvs-commit at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).