From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 96C2A384DB4B; Thu, 15 Feb 2024 14:09:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 96C2A384DB4B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708006146; bh=z+tyEL1ewV6Ppa0K/B3c2RvVL7vOKUY5y1eHzfvaT+g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=umb4WtDJTuMLM3lqikb5WkhODIQ7qCv4Wvn2H8ofoGjMNrMVBRjgc8riBlBeW37Wi 9OSeCyAl9DQjN5ObZ2psLd185Jq15dv9v6ujuUR39K3TxIK1kkEDpVGGYcSK2c0yYk tZI95Ke0wLmea6I/E2uTa2Q2J9DymjW4SoobPIKM= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99546] Weird return value of C++20 requires expression Date: Thu, 15 Feb 2024 14:09:06 +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: c++-lambda, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: redi 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: cf_reconfirmed_on 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=3D99546 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2022-09-20 00:00:00 |2024-2-15 --- Comment #8 from Jonathan Wakely --- The OP's example is supposed to be ill-formed though, it shouldn't compile successfully. So I don't think it's fixed.=