From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E170E3882AC6; Tue, 18 Jun 2024 12:46:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E170E3882AC6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1718714813; bh=016SfqaH0J+emnEN/U6q1wNkf57k6hJOY2M9Fjp7z58=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KmHZFt1OnJZeVy9b3oQOLlyzmKgG0WzlHENRYfZ7PEGL6CZwOOzqCI60yyXyH2APD cz3ZeyfKgxijonA+Ka+7vAw7663Lfr/NG/k4aPXGvCtX8h86RjOhnH1Ba6L1GSi+kh bXEy00tNOdAIXyvx6+Ju830ib/tLRO1ZpETHkol0= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/115539] Misoptimization of application at -O2 -g on x86-64 causing segfaults on valid memory accesses where it works on both clang and gcc at -g (no -O2) Date: Tue, 18 Jun 2024 12:46:53 +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: 14.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.org 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: 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=3D115539 --- Comment #5 from Sam James --- fastreadl_fetch in particular looks aliasing unsafe, let alone the rest.=