From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 191593858C53; Wed, 26 Apr 2023 09:48:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 191593858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682502492; bh=j5v7VcZLk+G5TLUpLAZJw500OV2fEAV6f34CqBVhiR4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NWKOCo93zHg+auwQZwA7AvPYvDROwbM2dHvALoYn6z3e+SJEeyDmo4B3u+Trbul/D gr2WCHZuTQ3LN3mIMP1ui72JuuGaAhOrPDkun/PK5t27AyWsSlGKuDbntj+wjmnnru Szm5HYasyjyMVOpgbU1ouGoY4xj9tJ21EMIGp3AY= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/109631] Simple std::optional types returned on stack, not registers Date: Wed, 26 Apr 2023 09:48:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: unknown X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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: component keywords 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=3D109631 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Component|libstdc++ |middle-end Keywords|ABI |missed-optimization --- Comment #2 from Andrew Pinski --- Note this is not a libstdc++ issue as your clang invocation is even still u= sing libstdc++ :). Anyways this is a dup of the other bug has some analysis to it.=