From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 620793858288; Tue, 7 May 2024 18:57:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 620793858288 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1715108271; bh=x4LdTioWwpHaY++i8FmUfHInp52G/LspSXMyZHHR3A0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ylrqrEwnonc57B+/9DEXWlcA5rXjZkKBlmv2+TN2yx3ds/cdxMhgeHQ42W810ISBX QpWyrqB7qp+ZBljh7cnoXJAmY6baM46QXsPMD5mBW9hiG2s4k9VjZKBeJi3CmMLQgB ugn2wFzAso9Ld3GJbyMsFa36fwSa1ZtiIbEUNOE0= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug modula2/113768] gm2/extensions/run/pass/vararg2.mod FAILs Date: Tue, 07 May 2024 18:57:50 +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: 14.0 X-Bugzilla-Keywords: testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: gaius at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.2 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113768 --- Comment #3 from GCC Commits --- The releases/gcc-14 branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:07dab3f6b56c711dcd737d856cf01a597a2e1626 commit r14-10179-g07dab3f6b56c711dcd737d856cf01a597a2e1626 Author: Gaius Mulley Date: Tue May 7 19:51:08 2024 +0100 [PR modula2/113768][PR modula2/114133] bugfix constants must be cast pr= ior to vararg call This bug fix corrects the test codes below by converting the constant literals to the type required by C. In the testcases below the values,= 1 etc were converted into the INTEGER type before being passed to a C vararg function. By default in modula2 constant literal ordinals are represented as the ZTYPE (the largest GCC integer type node). gcc/testsuite/ChangeLog: PR modula2/113768 PR modula2/114133 * gm2/extensions/run/pass/callingc10.mod: Convert constant lite= ral numbers into INTEGER. * gm2/extensions/run/pass/callingc11.mod: Ditto. * gm2/extensions/run/pass/vararg2.mod: Ditto. * gm2/iso/run/pass/packed.mod: Emit a printf as a runtime diagnostic. Signed-off-by: Gaius Mulley =