From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4FBE43858D1E; Mon, 19 Jun 2023 20:28:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4FBE43858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687206485; bh=pvBQrNBmHQFi7y24+uxE+WVcKcdNrJvmmBX3JMZwHu8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=uzAT5B4Q9JD6l52YY8d1Fd81rL2Xl73Az4un937nlmzKWxQFX0Qbjxl6IbzHBO4PC KZl6v6JwhZJvk3rpsESpFPu4hmKnCOw7aGHVaON1N4aBCg9qt1f1bLuie8KeO9i65F yGtkonQXThVh7toBH1McvWhZzNvMxE3ph70QRA0U= From: "matoro_gcc_bugzilla at matoro dot tk" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/110307] ICE in move_insn, at haifa-sched.cc:5473 when building Ruby on alpha with -fPIC -O2 (or -fpeephole2 -fschedule-insns2) Date: Mon, 19 Jun 2023 20:28:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 13.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: matoro_gcc_bugzilla at matoro dot tk X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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=3D110307 --- Comment #2 from matoro --- Created attachment 55365 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D55365&action=3Dedit archive from -fdump-tree-all -fdump-rtl-all (In reply to Alexander Monakov from comment #1) > I tried building a cross-compiler from trunk with > --target=3Dalpha-unknown-linux-gnu --with-gnu-ld --with-gnu-as > --enable-secureplt --enable-languages=3Dc --enable-tls and got >=20 > t.c:8:1: error: unrecognizable insn: > 8 | } > | ^ > (insn 23 22 24 5 (set (reg/f:DI 74) > (symbol_ref:DI ("ruby_current_ec") [flags 0x10] 0x7fb457a6c090 ruby_current_ec>)) "t.c":6:22 -1 > (nil)) > during RTL pass: vregs >=20 > Would you mind compiling the testcase with -fdump-tree-all -fdump-rtl-all > and attaching a tar.gz with the resulting dumps? Absolutely, here you go.=