From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 04C443858401; Tue, 31 Aug 2021 06:47:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 04C443858401 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/102140] New: [12 Regression] ICE: in extract_constrain_insn, at recog.c:2670 (insn does not satisfy its constraints) with -Og -fipa-cp -fno-tree-ccp -fno-tree-ter Date: Tue, 31 Aug 2021 06:47:15 +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: zsojka at seznam dot cz 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_gcchost cf_gcctarget attachments.created 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: Tue, 31 Aug 2021 06:47:16 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102140 Bug ID: 102140 Summary: [12 Regression] ICE: in extract_constrain_insn, at recog.c:2670 (insn does not satisfy its constraints) with -Og -fipa-cp -fno-tree-ccp -fno-tree-ter 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: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: powerpc64le-unknown-linux-gnu Created attachment 51385 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D51385&action=3Dedit reduced testcase Compiler output: $ powerpc64le-unknown-linux-gnu-gcc -Og -fipa-cp -fno-tree-ccp -fno-tree-ter testcase.c testcase.c: In function 'foo': testcase.c:23:15: warning: integer constant is so large that it is unsigned 23 | bar (1, (V){9223372036854775808 << 64}); | ^~~~~~~~~~~~~~~~~~~ testcase.c: In function 'bar': testcase.c:7:1: warning: GCC vector passed by reference: non-standard ABI extension with no compatibility guarantee [-Wpsabi] 7 | bar (char c, V v) | ^~~ testcase.c: In function 'bar.constprop': testcase.c:18:1: error: insn does not satisfy its constraints: 18 | } | ^ (insn 16 14 17 2 (set (reg:V4SI 65 1 [orig:120 _14 ] [120]) (const_vector:V4SI [ (const_int 0 [0]) repeated x3 (const_int -2147483648 [0xffffffff80000000]) ])) 1163 {vsx_movv4si_64bit} (expr_list:REG_EQUIV (const_vector:V4SI [ (const_int 0 [0]) repeated x3 (const_int -2147483648 [0xffffffff80000000]) ]) (nil))) during RTL pass: reload testcase.c:18:1: internal compiler error: in extract_constrain_insn, at recog.c:2670 0x6defa8 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /repo/gcc-trunk/gcc/rtl-error.c:108 0x6df035 _fatal_insn_not_found(rtx_def const*, char const*, int, char const= *) /repo/gcc-trunk/gcc/rtl-error.c:118 0x6cfb93 extract_constrain_insn(rtx_insn*) /repo/gcc-trunk/gcc/recog.c:2670 0xdad094 check_rtl /repo/gcc-trunk/gcc/lra.c:2087 0xdb20bc lra(_IO_FILE*) /repo/gcc-trunk/gcc/lra.c:2505 0xd63f59 do_reload /repo/gcc-trunk/gcc/ira.c:5932 0xd63f59 execute /repo/gcc-trunk/gcc/ira.c:6118 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $ powerpc64le-unknown-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=3D/repo/gcc-trunk/binary-latest-powerpc64le/bin/powerpc64le-unk= nown-linux-gnu-gcc COLLECT_LTO_WRAPPER=3D/repo/gcc-trunk/binary-trunk-r12-3241-20210831093846-= gd904008df26-checking-yes-rtl-df-extra-powerpc64le/bin/../libexec/gcc/power= pc64le-unknown-linux-gnu/12.0.0/lto-wrapper Target: powerpc64le-unknown-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=3Dc,c++ --enable-valgrind-annotations --disable-nls --enable-checking=3Dyes,rtl,df,= extra --with-cloog --with-ppl --with-isl --with-sysroot=3D/usr/powerpc64le-unknown-linux-gnu --build=3Dx86_64-pc-lin= ux-gnu --host=3Dx86_64-pc-linux-gnu --target=3Dpowerpc64le-unknown-linux-gnu --with-ld=3D/usr/bin/powerpc64le-unknown-linux-gnu-ld --with-as=3D/usr/bin/powerpc64le-unknown-linux-gnu-as --disable-libstdcxx-p= ch --prefix=3D/repo/gcc-trunk//binary-trunk-r12-3241-20210831093846-gd904008df= 26-checking-yes-rtl-df-extra-powerpc64le Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20210831 (experimental) (GCC)=