From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 67BC93858CDA; Tue, 9 Apr 2024 18:48:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 67BC93858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712688505; bh=rYRPsre9wWCDGkQqcBrKHIHdctfIo7xDntJZ2epGmHI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qTkFmap9r/Af17B28e1pyYpe3yzV8wFdFGUWbCZOIZKoxr8AzYYlpLnqQ39EP/Z3w pny2QyzfbAbEGSxGVNjDshOWECDbqO2h5vIauKFWDhS8c4TO6L08tPlNSC/BTy04ZL VupAqTQIukHGA2qCUrJMhHwkuamlo5MfCKZMEhPU= From: "bruno at clisp dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114659] gcc miscompiles a __builtin_memcpy on i386, leading to wrong results for SNaN Date: Tue, 09 Apr 2024 18:48:25 +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.2.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: bruno at clisp dot 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=3D114659 --- Comment #9 from Bruno Haible --- (In reply to Andrew Pinski from comment #7) > Much more related to PR 56831 and PR 57484 rather than the other two ... Well, bug #56831 is more about function calls and the ABI, whereas this bug here and bug #58416 and bug #93271 are about the compiler picking a memory location which holds convert_snan_to_qnan(value) rather than a memory locat= ion which holds the original value.=