From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9F5B63858D34; Wed, 27 Mar 2024 15:30:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9F5B63858D34 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711553461; bh=qKntUwyl4vlwQ3quNJPu4Azy4PbNgO9lXT1/OEd8syw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Lig7M1xAtBPd6SK+uCzetfk+ajgIvb5lwSppte0WG2rJAeV27xiCB842NnBD7bWLT 8J3s3yP7Jhbi3/8H926eWbamgz+LT9kI8EF2dPDw+242Nof2Qe15C72ImuehuXRJGx rWSKoy24zu2ab8qZ4D3zWhOX6DCPRMUJ5PMR19ro= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/111075] [14 Regression] ICE on g++.dg/torture/tail-padding1.C on darwin Date: Wed, 27 Mar 2024 15:30:57 +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: 14.0 X-Bugzilla-Keywords: ice-on-valid-code, testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111075 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek --- I can reproduce with a cross, doesn't ICE with -Os -fno-elide-constructors,= on x86_64-linux doesn't ICE with/without -Os -f{,no-}elide-constructors. The ICE is on 3025 /* We used to shortcut trivial constructor/op=3D here, but nowada= ys 3026 we can only get a trivial function here with -fno-elide-constructors. */ 3027 gcc_checking_assert (!trivial_fn_p (fun) 3028 || !flag_elide_constructors 3029 /* We don't elide constructors when processi= ng 3030 a noexcept-expression. */ 3031 || cp_noexcept_operand); where fun is X::X(X const&) and is trivial.=