From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7433A3858D3C; Wed, 26 Apr 2023 00:28:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7433A3858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682468923; bh=OOCXHMIps4+MY2+KAi0iMNDJKdyyOtSir4LDgrbl1LQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DjO6jf4PpfalEyEGPudKpbSQ6pEe+203Rdga/KViCYLWv2MJR1AdXal0xoY9AvfPD y/GGCT7O2WlsnXEAL0t1Z7bJTk9wa/oiKknT51Ph3F4ygE9Nu/7x4AI6i7eBzQ8cUU ZLVdu1wTaXYfBPjILKtQGdT1YH0LJX6TvDR0XtTI= From: "gaius at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug modula2/108121] Failing tests on x86_64-linux-gnu Date: Wed, 26 Apr 2023 00:28:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: modula2 X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gaius at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: gaius at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 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=3D108121 --- Comment #6 from Gaius Mulley --- Created attachment 54920 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54920&action=3Dedit Proposed fix for TestLong4.mod (ZTYPE fix) Here is a proposed patch to allow testLong4.mod to compile without warning. The ZTYPE is changed to int128 (or int64) if int128 is unavailable and constant literals are built from widest_int. The widest_int is converted i= nto the tree type and checked for overflow. m2expr_interpret_integer and append_m2_digit are removed.=