From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 43F5E3858D32; Mon, 16 Jan 2023 18:25:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 43F5E3858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673893534; bh=05fh0+rUflsbjbrO3T09aEcjYNeZDEqOUUvq8sbS5QE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mOQNOSwveUft8nA5oPHM/gjmAqPHVrGM+uzqWB20wvr0yad6NoFPk/4MznROvR/GH wj0joF/77xfyezf6BGqZURrhc6GBvfe4K4FT8uTgEOQnR/iJ4bQRAFonkhT9DO+vHx RME0PREPVphfMCAbG9P9ZiN/fotuYt0w6fYfvg+k= From: "gaius at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug modula2/108404] M2RTS_Halt fails with a segv (it should emit a diagnostic and exit). Date: Mon, 16 Jan 2023 18:25:33 +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: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: gaius at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D108404 Gaius Mulley changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gaius at gcc dot gnu.org --- Comment #3 from Gaius Mulley --- Created attachment 54283 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54283&action=3Dedit Potential fix to allow RTco (and others) to call M2RTS_HaltC This patch contains a new procedure exported from M2RTS HaltC which passes = the address of nul terminated strings to be passed without requiring conversion= to Modula-2 strings.=