From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8FF153858C60; Wed, 24 Jan 2024 15:47:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8FF153858C60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706111264; bh=So+2zSOvcdovMqxQh/UWP/7O81ErirwdiOvpGFivxwc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qq2uYla66CES3c4glmtDnFg1yw8OP94N4syQ1rA1RT/LeZ6kD16Dwsa+IIoAX1WIa NdlFWzjXw5HkEs3Lta+zaXQmZrPBYkHRYtI1Kqy5/m66F5rA4Ps8fo1a9Vg8Uf2gJk 3AiT/pErrUx9UJGD+YpcUUleIF9wK6vLc77TwxQg= From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/113141] [13/14 Regression] ICE on conversion to reference in aggregate initialization Date: Wed, 24 Jan 2024 15:47:43 +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: 13.2.1 X-Bugzilla-Keywords: ice-on-invalid-code, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ppalka at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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=3D113141 Patrick Palka changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code --- Comment #5 from Patrick Palka --- (In reply to Sergei Trofimovich from comment #4) > Noticed a similar ICE in openmvs-2.2.0 against gcc-13/gcc-14. I reduced it > with cvise into something invalid: Interesting, this can be turned into a ice-on-valid testcase: struct Matrix { }; struct TPoint3 { operator const Matrix(); }; int main() { TPoint3 X; Matrix& m =3D (Matrix &)X; }=