From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0930A3858CDA; Mon, 26 Aug 2024 22:33:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0930A3858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1724711607; bh=+vlO7HYzWRimk2+IunebLC2Bnjr90nD7BcVtP++HvLA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xInApP6uT1RN1YzAvzyUdB6gEtzm7P2YWYR8m8sUZFEBzu0/9fMENu2d5qwbnriN8 CCKepaQ2jLnr7OaTjjD4m03fRLhu8w/Qislr4r/XGVhxtjKABVwkuKB62kSAy0ys7A nouuwP/vWnpBFfH2snnzde60aFQZMvfugGyUswwE= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/116492] inherited constructors with concept in subclass overrides constructor in subclass Date: Mon, 26 Aug 2024 22:33:26 +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: unknown X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D116492 --- Comment #2 from Andrew Pinski --- >The same does not happen in clang, and in gcc with similar examples from o= ther classes I have tried. So it comes down to the concept on the constructor which is why you didn't = run into similar examples from other classes. std::expected has requires statements on the constructors in some cases.=