From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7D4C1385803C; Wed, 18 Nov 2020 10:41:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7D4C1385803C From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/97890] Abstract virtual classes suddenly allowed as parameter types ? Date: Wed, 18 Nov 2020 10:41:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2020 10:41:28 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97890 --- Comment #1 from David Binderman --- For C++ testsuite file g++.dg/other/abstract8.C, the number of errors seems to have gone down from 21 to 16. Here is a diff of the errors: $ diff /tmp/00 /tmp/11 1d0 < ./g++.dg/other/abstract8.C:13:9: error: invalid abstract type =E2=80=98A= =E2=80=99 for =E2=80=98ar=E2=80=99 4,7d2 < ./g++.dg/other/abstract8.C:16:15: error: cannot allocate an object of abstract type =E2=80=98A=E2=80=99 < ./g++.dg/other/abstract8.C:19:10: error: cannot declare variable =E2=80= =98a=E2=80=99 to be of abstract type =E2=80=98A=E2=80=99 < ./g++.dg/other/abstract8.C:21:1: error: invalid abstract return type =E2= =80=98A=E2=80=99 < ./g++.dg/other/abstract8.C:22:9: error: cannot declare parameter to be of abstract type =E2=80=98A=E2=80=99 9c4 < ./g++.dg/other/abstract8.C:26:1: error: invalid abstract return type =E2= =80=98A=E2=80=99 --- > ./g++.dg/other/abstract8.C:25:4: error: creating array of =E2=80=98A=E2= =80=99, which is an abstract class type $=