From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9F9C93858D32; Thu, 13 Apr 2023 11:10:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9F9C93858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681384248; bh=/CItb/t3XORGxv+QY3imhI+6LBtvJKBrxAu6q8aELtY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=D9yIGDYfsT9MiYjFEFBp0wn/In6pwCkwqlDJmOE+8GkdkW+gd1WSgCGYJTTuCr9F3 RleD/MDcGhAQKNXM7jd4t989nKLdlHlnA2e7bJAdz/woz3Azekloeh4JeHCi1yIRPO 7/SSm998PJ/VsTulKvEM3NRN9NJLRqJ8gtypfYpM= From: "gcc-bug-reports at xhtml dot guru" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109495] Stack is used (unexpectedly) for copying on-heap objects (no problem in clang) Date: Thu, 13 Apr 2023 11:10:48 +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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gcc-bug-reports at xhtml dot guru 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: attachments.created 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=3D109495 --- Comment #1 from gcc-bug-reports at xhtml dot guru --- Created attachment 54849 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54849&action=3Dedit test.cpp: test code that triggers Wframe-larger-than in GCC=