From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 160413858D38; Mon, 22 Apr 2024 12:48:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 160413858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713790138; bh=wrdZGzUAN2U8gLpe1szw23yEcZDbB3PnJSoaUVEH/jw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KXKMx1KGBNPH2ni4Y7U0ylqAfLerf1y9m7k1Xq8q9iKZK/fu1WWBVG031PmkQ5Oad 9jjPyRP58ApCsfDBBQyrk2j/dsmrDECz9VwZVHsYP3gvZbUfPRXrqkN3eD88SHFXgS KYMLwWzHunim8bZjVvAOZ7nnd7ZH5S3KdwaWLVTE= From: "mkretz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/114417] std::experimental::simd is not a POD (by ABI definitions) and is always passed by reference instead of by value Date: Mon, 22 Apr 2024 12:48:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: unknown X-Bugzilla-Keywords: ABI X-Bugzilla-Severity: enhancement X-Bugzilla-Who: mkretz at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: resolution bug_status 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=3D114417 Matthias Kretz (Vir) changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #10 from Matthias Kretz (Vir) --- Here's your example with the simd_abi::compatible ABI tag: https://godbolt.org/z/WbWr75EGW This is all working as intended. Note that no such ABI-stable ABI tag is currently planned for the TS merge to C++26. So I guess that will make you happy? :)=