From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 74D8B3858D32; Sun, 15 Oct 2023 23:48:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 74D8B3858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697413739; bh=T++wULbbz/xmPEhTqAonshnB3caVJZv7CTtZyC96Ato=; h=From:To:Subject:Date:In-Reply-To:References:From; b=V7eV4OCkXgKJYIhwnIsoGqrUd+6M0XHuoK7V0pUEQDcvuh7xVNZ+WM9ENMKMqOleg NNparnm9+wR0WeA6JwjHp7zlSDxDtrBfVMYfN2Jc1cZXeNXfts11ZnE20N7YdJUUvt tZG6816jNMAcVdkIk/wC3CZdkH34I5ALagM4c6po= From: "macro at orcam dot me.uk" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111815] VAX: ICE in 'print_operand_address' while building 'elf_zstd_decompress' from libbacktrace/elf.c Date: Sun, 15 Oct 2023 23:48:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: macro at orcam dot me.uk X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: macro at orcam dot me.uk X-Bugzilla-Target-Milestone: 14.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=3D111815 --- Comment #1 from Maciej W. Rozycki --- Created attachment 56120 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D56120&action=3Dedit Reduced testcase This triggers the same ICE in `p'. Preincrements are required so that their results land in registers and consequently an indexed addressing mode is tried or otherwise doing operations piecemeal on stack-based function arguments as direct input operands turns out more profitable in terms of RTX costs and the ICE is avoided.=