From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5A01138515C3; Fri, 24 Feb 2023 19:32:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5A01138515C3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677267124; bh=El0ISihkx4opTYFRbgyEQgCfDd98iJJ5mgZ5fokx7pI=; h=From:To:Subject:Date:From; b=G4aGmD7W7mwAadJie71YU+nsoWiAwNBncxsRgcxN5OqM0kzPr2SfcpK4Y6P7boBSx 94u7ghSe3OLfhJnqGKIT+HKZa2zirPcKH3tyvQ3quIdPu67PtTnVGt9cYF5gh/n/R1 +THEef24rjNYYmtYv8wUnreEV1ZwM2gMgFEpxScc= From: "jbglaw@lug-owl.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108928] New: epiphany-elf: unrecognizable insn (internal compiler error: in extract_insn, at recog.cc:2791) triggered during Modula-2 build Date: Fri, 24 Feb 2023 19:32: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: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jbglaw@lug-owl.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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108928 Bug ID: 108928 Summary: epiphany-elf: unrecognizable insn (internal compiler error: in extract_insn, at recog.cc:2791) triggered during Modula-2 build Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jbglaw@lug-owl.de Target Milestone: --- Hi! My automated testing found an issue with --target=3Depiphany-elf: .../gcc/configure '--with-pkgversion=3Dbasepoints/gcc-13-6140-g63471c50088,= built at 1677005096' --prefix=3D/var/lib/laminar/run/gcc-epiphany-elf/34/toolchain-install --enable-werror-always --enable-languages=3Dall --disable-gcov --disable-sh= ared --disable-threads --target=3Depiphany-elf --without-headers [...] make V=3D1 all-gcc [...] [all 2023-02-21 21:50:49] if test "xinfo" =3D xinfo; then \ [all 2023-02-21 21:50:49] rm -f doc/gccgo.info*; \ [all 2023-02-21 21:50:49] makeinfo --split-size=3D5000000 --no-split -I ../../gcc/gcc/doc \ [all 2023-02-21 21:50:49] -I ../../gcc/gcc/doc/include -o doc/gccgo.i= nfo ../../gcc/gcc/go/gccgo.texi; \ [all 2023-02-21 21:50:49] else true; fi [all 2023-02-21 21:50:50] test -d /var/lib/laminar/run/gcc-epiphany-elf/34/toolchain-build/gcc/m2/gm2-libs || /bin/bash ../../gcc/gcc/../mkinstalldirs /var/lib/laminar/run/gcc-epiphany-elf/34/toolchain-build/gcc/m2/gm2-libs [all 2023-02-21 21:50:50] echo "GM2_FOR_TARGET /var/lib/laminar/run/gcc-epiphany-elf/34/toolchain-build/./gcc/gm2 -B/var/lib/laminar/run/gcc-epiphany-elf/34/toolchain-build/./gcc/ " [all 2023-02-21 21:50:50] GM2_FOR_TARGET /var/lib/laminar/run/gcc-epiphany-elf/34/toolchain-build/./gcc/gm2 -B/var/lib/laminar/run/gcc-epiphany-elf/34/toolchain-build/./gcc/=20 [all 2023-02-21 21:50:50] echo "GCC_FOR_TARGET /var/lib/laminar/run/gcc-epiphany-elf/34/toolchain-build/./gcc/xgcc -B/var/lib/laminar/run/gcc-epiphany-elf/34/toolchain-build/./gcc/ " [all 2023-02-21 21:50:50] GCC_FOR_TARGET /var/lib/laminar/run/gcc-epiphany-elf/34/toolchain-build/./gcc/xgcc -B/var/lib/laminar/run/gcc-epiphany-elf/34/toolchain-build/./gcc/=20 [all 2023-02-21 21:50:50] /bin/bash ../../gcc/gcc/m2/tools-src/makeSystem -= fpim \ [all 2023-02-21 21:50:50] ../../gcc/gcc/m2/gm2-libs/SYSTEM.def= \ [all 2023-02-21 21:50:50] ../../gcc/gcc/m2/gm2-libs/SYSTEM.mod= \ [all 2023-02-21 21:50:50] -I../../gcc/gcc/m2/gm2-libs \ [all 2023-02-21 21:50:50]=20=20=20=20=20=20=20=20=20=20=20=20=20 "/var/lib/laminar/run/gcc-epiphany-elf/34/toolchain-build/./gcc/gm2 -B/var/lib/laminar/run/gcc-epiphany-elf/34/toolchain-build/./gcc/ " /var/lib/laminar/run/gcc-epiphany-elf/34/toolchain-build/gcc/m2/gm2-libs/SY= STEM.def [all 2023-02-21 21:50:50] ../../gcc/gcc/m2/gm2-libs/SYSTEM.mod: In function 'ShiftVal': [all 2023-02-21 21:50:50] ../../gcc/gcc/m2/gm2-libs/SYSTEM.mod:89:1: error: unrecognizable insn: [all 2023-02-21 21:50:50] 89 | END ShiftVal ; [all 2023-02-21 21:50:50] | ^~~ [all 2023-02-21 21:50:50] (insn 400 342 343 7 (parallel [ [all 2023-02-21 21:50:50] (set (mem/c:CC (plus:SI (reg/f:SI 11 = fp) [all 2023-02-21 21:50:50] (const_int 84 [0x54])) [7 %sfp+-20 S4 A32]) [all 2023-02-21 21:50:50] (reg:CC 18 r18)) [all 2023-02-21 21:50:50] (use (const_int -4337 [0xffffffffffffef0f])) [all 2023-02-21 21:50:50] (clobber (scratch:SI)) [all 2023-02-21 21:50:50] ]) "../../gcc/gcc/m2/gm2-libs/SYSTEM.mod":80:32 discrim 1 -1 [all 2023-02-21 21:50:50] (nil)) [all 2023-02-21 21:50:50] during RTL pass: reload [all 2023-02-21 21:50:50] ../../gcc/gcc/m2/gm2-libs/SYSTEM.mod:89:1: intern= al compiler error: in extract_insn, at recog.cc:2791 [all 2023-02-21 21:50:50] 0x670d08 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) [all 2023-02-21 21:50:50] ../../gcc/gcc/rtl-error.cc:108 [all 2023-02-21 21:50:50] 0x670d24 _fatal_insn_not_found(rtx_def const*, ch= ar const*, int, char const*) [all 2023-02-21 21:50:50] ../../gcc/gcc/rtl-error.cc:116 [all 2023-02-21 21:50:50] 0x66f763 extract_insn(rtx_insn*) [all 2023-02-21 21:50:50] ../../gcc/gcc/recog.cc:2791 [all 2023-02-21 21:50:50] 0xce5a14 extract_insn_cached(rtx_insn*) [all 2023-02-21 21:50:50] ../../gcc/gcc/recog.cc:2680 [all 2023-02-21 21:50:50] 0x9fa4a4 cleanup_subreg_operands(rtx_insn*) [all 2023-02-21 21:50:50] ../../gcc/gcc/final.cc:3054 [all 2023-02-21 21:50:50] 0xd10ff2 reload(rtx_insn*, int) [all 2023-02-21 21:50:50] ../../gcc/gcc/reload1.cc:1232 [all 2023-02-21 21:50:50] 0xb97f3e do_reload [all 2023-02-21 21:50:50] ../../gcc/gcc/ira.cc:5975 [all 2023-02-21 21:50:50] 0xb97f3e execute [all 2023-02-21 21:50:50] ../../gcc/gcc/ira.cc:6149 [all 2023-02-21 21:50:50] Please submit a full bug report, with preprocessed source (by using -freport-bug). [all 2023-02-21 21:50:50] Please include the complete backtrace with any bug report. [all 2023-02-21 21:50:50] See for instructions. [all 2023-02-21 21:50:50] SYSTEM module creates type: LOC [all 2023-02-21 21:50:50] SYSTEM module creates type: WORD [all 2023-02-21 21:50:50] SYSTEM module creates type: BYTE [all 2023-02-21 21:50:50] SYSTEM module creates type: ADDRESS [all 2023-02-21 21:50:50] SYSTEM module creates type: INTEGER8 [all 2023-02-21 21:50:50] SYSTEM module creates type: INTEGER16 [all 2023-02-21 21:50:50] SYSTEM module creates type: INTEGER32 [all 2023-02-21 21:50:50] SYSTEM module creates type: INTEGER64 [all 2023-02-21 21:50:50] SYSTEM module creates type: CARDINAL8 [all 2023-02-21 21:50:50] SYSTEM module creates type: CARDINAL16 [all 2023-02-21 21:50:50] SYSTEM module creates type: CARDINAL32 [all 2023-02-21 21:50:50] SYSTEM module creates type: CARDINAL64 [all 2023-02-21 21:50:50] SYSTEM module creates type: WORD16 [all 2023-02-21 21:50:50] SYSTEM module creates type: WORD32 [all 2023-02-21 21:50:50] SYSTEM module creates type: WORD64 [all 2023-02-21 21:50:50] SYSTEM module creates type: BITSET8 [all 2023-02-21 21:50:50] SYSTEM module creates type: BITSET16 [all 2023-02-21 21:50:50] SYSTEM module creates type: BITSET32 [all 2023-02-21 21:50:50] SYSTEM module creates type: REAL32 [all 2023-02-21 21:50:50] SYSTEM module creates type: REAL64 [all 2023-02-21 21:50:50] SYSTEM module creates type: COMPLEX32 [all 2023-02-21 21:50:50] SYSTEM module creates type: COMPLEX64 [all 2023-02-21 21:50:50] SYSTEM module creates type: CSIZE_T [all 2023-02-21 21:50:50] SYSTEM module creates type: CSSIZE_T [all 2023-02-21 21:50:50] ../../gcc/gcc/m2/gm2-libs/SYSTEM.mod: In function 'ShiftVal': [all 2023-02-21 21:50:50] ../../gcc/gcc/m2/gm2-libs/SYSTEM.mod:89:1: error: unrecognizable insn: [all 2023-02-21 21:50:50] 89 | END ShiftVal ; [all 2023-02-21 21:50:50] | ^~~ [all 2023-02-21 21:50:50] (insn 400 342 343 7 (parallel [ [all 2023-02-21 21:50:50] (set (mem/c:CC (plus:SI (reg/f:SI 11 = fp) [all 2023-02-21 21:50:50] (const_int 84 [0x54])) [7 %sfp+-20 S4 A32]) [all 2023-02-21 21:50:50] (reg:CC 18 r18)) [all 2023-02-21 21:50:50] (use (const_int -4337 [0xffffffffffffef0f])) [all 2023-02-21 21:50:50] (clobber (scratch:SI)) [all 2023-02-21 21:50:50] ]) "../../gcc/gcc/m2/gm2-libs/SYSTEM.mod":80:32 discrim 1 -1 [all 2023-02-21 21:50:50] (nil)) [all 2023-02-21 21:50:50] during RTL pass: reload [all 2023-02-21 21:50:50] ../../gcc/gcc/m2/gm2-libs/SYSTEM.mod:89:1: intern= al compiler error: in extract_insn, at recog.cc:2791 [all 2023-02-21 21:50:50] 0x670d08 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) [all 2023-02-21 21:50:50] ../../gcc/gcc/rtl-error.cc:108 [all 2023-02-21 21:50:50] 0x670d24 _fatal_insn_not_found(rtx_def const*, ch= ar const*, int, char const*) [all 2023-02-21 21:50:50] ../../gcc/gcc/rtl-error.cc:116 [all 2023-02-21 21:50:50] 0x66f763 extract_insn(rtx_insn*) [all 2023-02-21 21:50:50] ../../gcc/gcc/recog.cc:2791 [all 2023-02-21 21:50:50] 0xce5a14 extract_insn_cached(rtx_insn*) [all 2023-02-21 21:50:50] ../../gcc/gcc/recog.cc:2680 [all 2023-02-21 21:50:50] 0x9fa4a4 cleanup_subreg_operands(rtx_insn*) [all 2023-02-21 21:50:50] ../../gcc/gcc/final.cc:3054 [all 2023-02-21 21:50:50] 0xd10ff2 reload(rtx_insn*, int) [all 2023-02-21 21:50:50] ../../gcc/gcc/reload1.cc:1232 [all 2023-02-21 21:50:50] 0xb97f3e do_reload [all 2023-02-21 21:50:50] ../../gcc/gcc/ira.cc:5975 [all 2023-02-21 21:50:50] 0xb97f3e execute [all 2023-02-21 21:50:50] ../../gcc/gcc/ira.cc:6149 [all 2023-02-21 21:50:50] Please submit a full bug report, with preprocessed source (by using -freport-bug). [all 2023-02-21 21:50:50] Please include the complete backtrace with any bug report. [all 2023-02-21 21:50:50] See for instructions. [all 2023-02-21 21:50:50] make[1]: *** [../../gcc/gcc/m2/Make-lang.in:1564: /var/lib/laminar/run/gcc-epiphany-elf/34/toolchain-build/gcc/m2/gm2-libs/SY= STEM.def] Error 1 [all 2023-02-21 21:50:50] rm m2/gm2-compiler-boot/P2Build.mod m2/gm2-compiler-boot/P0SyntaxCheck.mod m2/gm2-compiler-boot/PCBuild.mod m2/gm2-compiler-boot/PHBuild.mod m2/gm2-compiler-boot/P1Build.mod m2/gm2-compiler-boot/P3Build.mod [all 2023-02-21 21:50:50] make[1]: Leaving directory '/var/lib/laminar/run/gcc-epiphany-elf/34/toolchain-build/gcc' [all 2023-02-21 21:50:50] make: *** [Makefile:4619: all-gcc] Error 2 (Full build log at http://toolchain.lug-owl.de/laminar/log/gcc-epiphany-elf= /34)=