From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D6E883858401; Thu, 11 Apr 2024 19:06:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D6E883858401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712862403; bh=lf72U7YuB8ksIOFV+47S9lWDygqD2voeW6aAo+CZpl4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=f1Uze9jfCc9XQJYVWeeU/Bk7gYzDAECsvkjJUWw7aOP2a+XqE6Nv42MEBezxm3jVo obIKJecxPQjR0qTnVjwYRIkcFBCqJWgiiIr1lV1rybVRa8W9kNNoGnV3WdxTzLFVXo IkBD2ljXrkGFgEJRxYLNJqFtA8pw805rYwIkDbHo= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/114698] [12/13/14 regression] dcfldd produces wrong sha256 sum on ppc64le and -O3 since r12-5244-g64f3e71c302b4a Date: Thu, 11 Apr 2024 19:06:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: bug_status 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=3D114698 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > uint8_t buffer[SHA256_BLOCK_LENGTH]; >=20 > W256 =3D (sha2_word32*)context->buffer; >=20 > This is starting to smell like the code is violating strict aliasing rules > ... The patch in https://github.com/NetBSD/pkgsrc/issues/122 applies directly here too.=