From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 68A9D3858C32; Mon, 8 Apr 2024 09:19:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 68A9D3858C32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712567973; bh=UDkhLEv4p2WJdKA0paKRQnVa0yHzFASaCIXpIFfxZQQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=GLLjqYDfKqdqEPQr9NM9YieiNMPxY5scserVpGvPLc6AEGQUUd8HvVURufmMvhHh2 QWC7KGFv4U9HwWzNCszMN71oBAJDnX8HtUnFBKDDI3VTH3cJLiJfMq6vzR5HkiV/7r SnAouE6d/VLFIRDuGd877RBdh2/dA8YSTLGeROSQ= From: "nicolas at debian dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/114065] gnat build with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 fails on 32bit archs Date: Mon, 08 Apr 2024 09:19:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nicolas at debian dot org X-Bugzilla-Status: NEW 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: attachments.created 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=3D114065 --- Comment #18 from Nicolas Boulenguez --- Created attachment 57897 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57897&action=3Dedit rewrite commit 3/8 so that Duration'Size may be 32 Would version 4 of commit 3/8 be OK? It only modifies s-crtl.ad[bs]. A bit out of the subject, but if GNAT supports Duration'Size =3D 32, a-reatim.adb s-ransee.adb a-calend.adb probably deserve comments about the way the conversion deals with the size difference and sign bit.=