From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E28B9385841F; Thu, 11 Jan 2024 23:36:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E28B9385841F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705016163; bh=UTvw8ZA9l07Lo6+wx38F8LyWaO8hxFQtDg6kbY020B4=; h=From:To:Subject:Date:From; b=FWjFheQymykzvDBLV0NMcTHJWmHb3Mupddad7zgJlY9d0fd0NP55ELYvNS5AxOSaN dApgiyWIDdf4/yLIaMNgf9RyqHyPehVBot/Ndhm48nmeM4P5T89+chjgpx3NJTUmn4 lBLEWjJTRkEswi1pnUPEcpla4/HOqHNGtQ0szye0= From: "bouanto at zoho dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug jit/113343] New: Float values are not correct when cross-compiling Date: Thu, 11 Jan 2024 23:36:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: jit X-Bugzilla-Version: 13.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bouanto at zoho dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D113343 Bug ID: 113343 Summary: Float values are not correct when cross-compiling Product: gcc Version: 13.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: jit Assignee: dmalcolm at gcc dot gnu.org Reporter: bouanto at zoho dot com Target Milestone: --- Values created by gcc_jit_context_new_rvalue_from_double are wrong when cross-compiling to an arch where the encoding of floats is different than t= he host. I'll soon post a patch for to fix this.=