From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 40962385DC19; Fri, 8 Mar 2024 11:41:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 40962385DC19 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709898091; bh=MEnRFkvqia53Hacrm2n2UwlaVE+BvuqnvK4erbNkqXU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=QiAy2FnV56Ki0YTyfw07GaXQzF6X7pdFFQg+mB/Y6GcfUD2fhl4IY9Kj9pbZS+fGU KXkpUOkClN4VOZR4i5Smt2PLrtBmq34oIrOH4ZJFQTyISDaGMbaRMOyuQjvnLOYy28 /oQxcm8jmOE1YJ9IqhlNUTAYWu/qJ2d6sowDrFEc= From: "elrodc at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/110027] Misaligned vector store on detect_stack_use_after_return Date: Fri, 08 Mar 2024 11:41:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.1.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: elrodc at gmail dot com X-Bugzilla-Status: NEW 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: 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=3D110027 --- Comment #9 from Chris Elrod --- > Interestingly this seems to be only reproducible on Arch Linux. Other gcc= 13.1.1 builds, Fedora for instance, seem to behave correctly.=20 I haven't tried that reproducer on Fedora with gcc 13.2.1, which could have regressed since 13.1.1. However, the dup example in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D= 114276 does reproduce on Fedora with gcc-13.2.1 once you add extra compile flags `-std=3Dc++23 -fstack-protector-strong`. I'll try the original reproducer later, it may be the case that adding/remo= ving these flags fuzzes the alignment.=