From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3828D3858C55; Fri, 22 Mar 2024 01:37:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3828D3858C55 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711071455; bh=vYj24UCKjFzU3O7GNUOyiLoTazVfh9lU+wTgf7ozM8Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=PCYyfSaJRujyO/0rwLpWv378Pn99ws8i6L/VDDicgrEtwhs1a1Dh7InzZi0QJBDbv q3LVx1yO0uOU5iw+WQKEVYYTlplf5BjCftFILCXFYXqGy6jPXOfIb6ECsHAjLEQDDy 9Z9k2UylSN61ZZPfa8naxnhRShlJ51qPktuAPHmE= From: "de34 at live dot cn" 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: Fri, 22 Mar 2024 01:37:34 +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: de34 at live dot cn 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114417 Jiang An changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |de34 at live dot cn --- Comment #8 from Jiang An --- There're comments saying: > // The following ensures, function arguments are passed via the stack. > // This is important for ABI compatibility across TU boundaries I have no idea about why this was considered outweighting trivial copyabili= ty.=