From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 123F9385802A; Wed, 19 May 2021 01:10:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 123F9385802A From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/100662] intrinsic::ieee_arithmetic fails on aarch, powerpc architectures on FreeBSD Date: Wed, 19 May 2021 01:10:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 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 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, 19 May 2021 01:10:10 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100662 --- Comment #6 from Steve Kargl -= -- On Wed, May 19, 2021 at 12:56:57AM +0000, yuri at tsoft dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100662 >=20 > --- Comment #5 from Yuri --- > config.log doesn't contain the IEEE string even on amd64. >=20 > libgfortran/configure.host seems to only enable IEEE modules on i?86 | x8= 6_64 > architectures through this code: >=20 > > case "${host_cpu}" in > > i?86 | x86_64) > > if test "x${have_soft_float}" =3D "xyes"; then > > fpu_host=3D'fpu-generic' > > else > > fpu_host=3D'fpu-387' > > fi > > ieee_support=3D'yes' > > ;; > > esac >=20 > What does gcc need from OS for IEEE754? > Shouldn't it just compile with relevant to IEEE754 opcodes? >=20 In=20 x86_64-unknown-freebsd14.0/libgfortran/config.log I see configure:26522: FPU dependent file will be fpu-387.h configure:26524: Support for IEEE modules: yes Looking at libgfortran/configure and libgfortran/configure.host and looking in libgfortran/config/, it seems you'll need to define an fpu-aarch64.h I don't have an aarch64 system nor access to such a system, so can't help you more.=