From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B83C438708D3; Wed, 22 Apr 2020 14:12:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B83C438708D3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587564770; bh=gIiZdPqfAaRcwA9I392SFCMvRETlXwyFDeZoG/FBGRY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cuaeaRWG2RwH+upnyM2jG/4TG8jGOFrUui16Wy1InaRwEz5LDgcBWFocX0xymdoH3 e+T6GRMphLTDQFavUODHXYganho6duKYNa5Wq29OROc+PDNYiC6NI5Tps2mS1xlV40 jraMTW36eUAimd2Rf9l8/7dUI7eo92K4kN2/qKEg= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/94694] [10 Regression][libgfortran] libgfortran does not compile on bare-metal aarch64-none-elf (newlib) Date: Wed, 22 Apr 2020 14:12:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Apr 2020 14:12:50 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94694 --- Comment #24 from Jakub Jelinek --- The dec_math.f90 FAILs are at all opt levels: ( ) qsind( 60.000000000000000000000000000000) 0.86602540378443864676372317= 0753 0.866025403784438596588302061718 Note: The following floating-point exceptions are signalling: IEEE_INVALID_= FLAG STOP 1 If I preprocess trigd.c before/after the #c21 patch, the difference (appart from lines/whitespace) are: - (x =3D fmaf(((x)), (1.74560547e-02f), ((x) * -2.76216747e-06f))); + (x =3D fmaf((x), 1.74560547e-02, (x) * -2.76216747e-06)); - (x =3D 8.66025388e-01f); + (x =3D 8.66025388e-01); - (x =3D fmaf(((x)), (1.74560547e-02f), ((x) * -2.76216747e-06f))); + (x =3D fmaf((x), 1.74560547e-02, (x) * -2.76216747e-06)); - (x =3D 8.66025388e-01f); + (x =3D 8.66025388e-01); ... - static const volatile GFC_REAL_10 tiny =3D 0x1.p-16400L; + static const volatile GFC_REAL_10 tiny =3D 0x1.p-16400l; ... - (x =3D 8.66025403784438646787e-01L); + (x =3D 8.66025403784438646787e-01); ... - (x =3D fmal(((x)), (1.74532925229868851602e-02L), ((x) * -3.04358939097084072823e-12L))); + (x =3D fmal((x), 1.74532925229868851602e-02, (x) * -3.04358939097084072823e-12)); ... - (x =3D 8.66025403784438646763723170752936183e-01q); + (x =3D 8.66025403784438646763723170752936183e-01); etc., so all that matters is that some float suffixes (f, , L, q) are gone = from the constants (and the L -> l change on tiny and a few others), which of co= urse matters a lot.=