From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F3C483858D32; Mon, 24 Apr 2023 09:09:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F3C483858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682327359; bh=l+7p1IR5YHkrnrHYGkit3vxxB4upPHsIfXT1scxJ1S0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iKANocqdA6EsNy//+0A3RqZLYNQwxd/8D0+dhbB0n3nsyDi5abiPTf6AmJJEDEDyy QYuIerb4b7DTXDhNlt4ZOcyOq4rMqWTgX5/ZUmLSOFtK9boFWFgZvB2BdLVeqm1W1s fK87rTvHI1StoKw+XSxLsNlIqLdkV19Syx9iExZs= From: "sebastian.huber@embedded-brains.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109566] [13/14 Regression] powerpc: unrecognizable insn for -mcpu=e6500, -mcpu=power3, ..., -mcpu=power10 Date: Mon, 24 Apr 2023 09:09:18 +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: 13.0 X-Bugzilla-Keywords: build, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: sebastian.huber@embedded-brains.de 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: 13.0 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=3D109566 --- Comment #7 from Sebastian Huber --- (In reply to Jakub Jelinek from comment #6) > How have you configured gcc? I certainly can't reproduce this with > --enable-targets=3Dpowerpc64-linux,powerpc-linux --with-cpu-32=3Dpower7 > --with-cpu-64=3Dpower7 --with-long-double-128 --enable-checking=3Drelease > --target=3Dpowerpc64-linux-gnu --enable-languages=3Dc,c++,fortran,lto > nor > --target powerpc-linux --enable-languages=3Dc,c++ > configured gccs. I notices this issue with the powerpc-rtems6 target while building Newlib. = Can you compile the test case with your compiler? I was able to reproduce the error with the powerpc-elf target: powerpc-elf-gcc -O2 -mcpu=3Dpower10 -c test.c /home/EB/sebastian_h/tmp/bug-gcc-pr109566/test.c: In function '__ieee754_fm= od': /home/EB/sebastian_h/tmp/bug-gcc-pr109566/test.c:32:1: error: unrecognizable insn: 32 | } | ^ (insn 49 8 50 2 (parallel [ (set (reg:CC 100 0) (compare:CC (and:DI (ashift:DI (reg:DI 9 9 [123]) (const_int 33 [0x21])) (const_int -9007199254740992 [0xffe0000000000000])) (const_int 0 [0]))) (clobber (reg:DI 9 9 [127])) ]) "/home/EB/sebastian_h/tmp/bug-gcc-pr109566/test.c":21:4 -1 (nil)) during RTL pass: split2 /home/EB/sebastian_h/tmp/bug-gcc-pr109566/test.c:32:1: internal compiler er= ror: in extract_insn, at recog.cc:2791 0x40730a _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /home/EB/sebastian_h/src/gcc/gcc/rtl-error.cc:108 0x407329 _fatal_insn_not_found(rtx_def const*, char const*, int, char const= *) /home/EB/sebastian_h/src/gcc/gcc/rtl-error.cc:116 0x957257 extract_insn(rtx_insn*) /home/EB/sebastian_h/src/gcc/gcc/recog.cc:2791 0x9572b1 extract_insn_cached(rtx_insn*) /home/EB/sebastian_h/src/gcc/gcc/recog.cc:2680 0x6a99ab cleanup_subreg_operands(rtx_insn*) /home/EB/sebastian_h/src/gcc/gcc/final.cc:3054 0x95561c split_insn /home/EB/sebastian_h/src/gcc/gcc/recog.cc:3420 0x95a392 split_all_insns() /home/EB/sebastian_h/src/gcc/gcc/recog.cc:3488 0x95a4a8 execute /home/EB/sebastian_h/src/gcc/gcc/recog.cc:4412 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions.=