From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E7B373858027; Thu, 13 Oct 2022 06:38:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E7B373858027 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665643119; bh=aktKT4qCg0oi8D2eex+xgBoEWviNq+t8n7JhFwYu7C4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kIzLKwikTLw6ln/h1vKpyDvOa4xugOKEHgfRIRqfjwkbw4EKQdIhPlhX5Yd7XrJ9Q 05ToqHzjB0ufSyHrPSq9ybCSlZiGfgYIaZe4gC3UzvbggPNng6o9oOPgC/kO45/E8l LiHXgEeHT5kmaNpglEPAKol9IQRwV0+OB5pqtNhE= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107243] ice in arithmetic_instr, at config/arm/arm.cc:2089 Date: Thu, 13 Oct 2022 06:38:38 +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: unknown X-Bugzilla-Keywords: ice-on-invalid-code, inline-asm X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW 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: cf_reconfirmed_on bug_status everconfirmed 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=3D107243 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2022-10-13 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski --- static void arm_print_operand (FILE *stream, rtx x, int code) { switch (code) { ... case 'I': fprintf (stream, "%s", arithmetic_instr (x, 0)); return; ... const char * arithmetic_instr (rtx op, int shift_first_arg) { switch (GET_CODE (op)) { ... default: gcc_unreachable (); } } The gcc_unreachable here should rather be a call to output_operand_lossage=