From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E843F3858D28; Mon, 19 Dec 2022 23:57:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E843F3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671494240; bh=dnas8gkFMtvIoZippjrlP+d3Phf7t05OFLrUPKCMcdU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Ayz6Z4F+pN8rdyvK9dbe+NSd3Un3jG05C1UcqKJb79jnJmhaEeMZRhz4rgZPoffLr TxhCk+VjePrFP4ogCkp5aDUJzEaPVduJGV5/Nq1nDM/jq9jvQrflCOEC7pEGrqySHM CRDPOz7xk0b6J8WBjprWh3VAxbpzZd/7wXPF+mkY= From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug modula2/108183] wrong code generated in the modula2 scaffold mechanism Date: Mon, 19 Dec 2022 23:57:20 +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: assemble-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: iains 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: --- 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=3D108183 --- Comment #1 from Iain Sandoe --- example: a-hello.s:217:2: error: symbol '__M2_termios_ctor' can not be undefined in a subtraction expression leal __M2_termios_ctor-L5$pb(%eax), %edx #, _T53_57 (lldb) p (void) debug_tree(decl) > QI size unit-size align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x106829dc8 arg-types > pointer_to_this > addressable public static QI (null):0:0 align:8 warn_if_not_align:0 con= text (mem:QI (symbol_ref:SI ("_M2_termios_ctor") ) [0 S1 A8]) chain >=