From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7C0E43858023; Mon, 24 Oct 2022 15:19:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7C0E43858023 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666624804; bh=HknmJPVoQ3PV9uyefELi2LnKRYwzWAYrXZrPL5YlEBk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gKRCoV8jclXBnfmRiTZFEharzU0Y9B29buJERLkM9AoRHlaZkDpH1Y/aIttNjU9IJ a9fhZYTtgeaF0SzuTplS1gPcsgH48h36gZhFKTCKkzJElgfozk+afuy0JClFZGkjjV GzxXRyyRe0uPmxNaFQOyGxEMVkTFHhcCDtm/3Lzw= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107370] long double precision is wrong in ARM 64 Date: Mon, 24 Oct 2022 15:19:57 +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: 10.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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=3D107370 --- Comment #2 from Andrew Pinski --- I get the following output from ubuntu 1804's gcc and the trunk of gcc from 20220808: ubuntu@ubuntu:~/src/upstream-gcc\# ~/upstream-gcc/bin/gcc t54.c -O2 ubuntu@ubuntu:~/src/upstream-gcc\# ./a.out 1.4142135623730950488 trunk gcc: .LC1: .word 325511829 .word -922176773 .word -429395012 .word 1073703433 ubuntu gcc: .LC0: .word 325511829 .word 3372790523 .word 3865572284 .word 1073703433 Both of these are the same, just unsigned vs signed output. As far as I can tell, this is not a GCC issue. It might be a binutils issue= or a glibc issue with printf.=