From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 28C3E3858C2A; Mon, 11 Dec 2023 10:13:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 28C3E3858C2A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1702289627; bh=vgkSx/qFjJS2n+09kkU3p7GfQC5ewuzqo1dTphW41Qg=; h=From:To:Subject:Date:From; b=ipSnqKgjtT6bLHMaOh8e3tAwMvT0iFB8qx2gGCn4mz5R/+HhKnxOjSa8KVEzaT22r c6RPnN/P6lKZc34QEgBeTXYBvXA5iHTVqZSvsgNCLCe16DFP/h90exjUfmNSoC0bHd m/BNBrJeom+edcW9Uz0KchW82XGo9tMjuCUD8Sok= From: "ro at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/112957] New: [13/14 regression] src/std/math/exponential.d doesn't compile on 32-bit FreeBSD/x86 Date: Mon, 11 Dec 2023 10:13:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot 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 cc target_milestone cf_gcchost cf_gcctarget cf_gccbuild 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=3D112957 Bug ID: 112957 Summary: [13/14 regression] src/std/math/exponential.d doesn't compile on 32-bit FreeBSD/x86 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: ro at gcc dot gnu.org CC: andreast at gcc dot gnu.org Target Milestone: --- Host: x86_64-unknown-freebsd14.0 Target: x86_64-unknown-freebsd14.0 Build: x86_64-unknown-freebsd14.0 Building both GCC 13.2.0 and trunk on FreeBSD 14.0 failed in the same way: /vol/gcc/src/gcc-13.2.0/libphobos/src/std/math/exponential.d:1977:9: error: stat ic assert: "no coefficients for exp2()" 1977 | static assert(0, "no coefficients for exp2()"); | ^ /vol/gcc/src/gcc-13.2.0/libphobos/src/std/math/exponential.d:1684:20: note: inst antiated from here: =E2=80=98exp2Impl!real=E2=80=99 1684 | return exp2Impl(x); | ^ gmake[9]: *** [Makefile:1285: std/json.lo] Error 1 Only the 32-bit multilib is affected. I suspect this is due to the unusual format of long double on 32-bit FreeBSD/x86: i386/freebsd.h has #define TARGET_96_ROUND_53_LONG_DOUBLE (!TARGET_64BIT)=