From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F3EDF3839C63; Mon, 24 May 2021 06:04:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F3EDF3839C63 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/100736] New: ICE: unrecognizable insn Date: Mon, 24 May 2021 06:04:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com 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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2021 06:04:04 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100736 Bug ID: 100736 Summary: ICE: unrecognizable insn Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: powerpc-*-linux-gnu gcc-12.0.0-alpha20210523 snapshot (g:c01c4331112aaf45f0de20ed8883dbeab83ed8= 96) ICEs when compiling the following testcase, reduced from gcc/testsuite/gcc.target/powerpc/bcd-4.c, w/ -mvsx -mpower8-vector -ffinite-math-only: typedef __attribute__ ((altivec (vector__))) unsigned char v; int foo (v a, v b) { return __builtin_vec_bcdsub_ge (a, b, 0); } % powerpc-e300c3-linux-gnu-gcc-12.0.0 -mvsx -mpower8-vector -ffinite-math-o= nly -c ktvdviry.c ktvdviry.c: In function 'foo': ktvdviry.c:7:1: error: unrecognizable insn: 7 | } | ^ (insn 10 9 13 2 (set (reg:SI 119 [ _5 ]) (ge:SI (reg:CCFP 106 6) (const_int 0 [0]))) "ktvdviry.c":6:10 -1 (nil)) during RTL pass: vregs ktvdviry.c:7:1: internal compiler error: in extract_insn, at recog.c:2770 0x6912fa _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-12.0.0_alpha20210523/wo= rk/gcc-12-20210523/gcc/rtl-error.c:108 0x69131a _fatal_insn_not_found(rtx_def const*, char const*, int, char const= *) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-12.0.0_alpha20210523/wo= rk/gcc-12-20210523/gcc/rtl-error.c:116 0x68f987 extract_insn(rtx_insn*) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-12.0.0_alpha20210523/wo= rk/gcc-12-20210523/gcc/recog.c:2770 0xaf6de1 instantiate_virtual_regs_in_insn =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-12.0.0_alpha20210523/wo= rk/gcc-12-20210523/gcc/function.c:1609 0xaf6de1 instantiate_virtual_regs =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-12.0.0_alpha20210523/wo= rk/gcc-12-20210523/gcc/function.c:1983 0xaf6de1 execute =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-12.0.0_alpha20210523/wo= rk/gcc-12-20210523/gcc/function.c:2032=