From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A620938930F4; Wed, 17 Jun 2020 16:55:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A620938930F4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1592412932; bh=Z3TTsrr21nhn31xjM+guhpwj0cwCmuhVxLn3BqODmyQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ouICdvYXE9Pm6zTETxZ8SNLdJCDHmtP6DD8HSBlTctQ8yyKA3OtMVPTpcREcUvL+K XPEcW3XWZjfaEIqZBre+lGh2zD77AV1i1+UvRLafR3g4BoJuybSbR5H4s8MaEWIalp yj1FL1sRi2KBreFzZJ0yzV/PN2IAfZ8BYSYPBce8= From: "leni536 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/93711] ICE: [[no_unique_address] when constructing via template helper Date: Wed, 17 Jun 2020 16:55:32 +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: 9.2.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: leni536 at gmail 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: cc 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, 17 Jun 2020 16:55:32 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D93711 L=C3=A9n=C3=A1rd Szolnoki changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |leni536 at gmail dot com --- Comment #3 from L=C3=A9n=C3=A1rd Szolnoki --- A smaller example: struct S { S(S&&) =3D delete; }; S foo(); struct A { [[no_unique_address]] S s =3D foo(); }; A a{}; Version: 11.0.0 20200616 Command line options: -std=3Dc++20 -Wall -Wextra -pedantic Diagnostics: during RTL pass: expand : In function 'void __static_initialization_and_destruction_0(int, int)': :11:5: internal compiler error: in assign_temp, at function.c:984 11 | A a{}; | ^=