From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E5BF13858C60; Wed, 29 Sep 2021 15:16:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E5BF13858C60 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/102477] ICE: in emit_move_insn, at expr.c:4026 at -Og with __builtin_shufflevector() Date: Wed, 29 Sep 2021 15:16:09 +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: 12.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz 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: attachments.created 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 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: Wed, 29 Sep 2021 15:16:10 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102477 --- Comment #3 from Zdenek Sojka --- Created attachment 51517 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D51517&action=3Dedit different testcase failing at -O without __builtin_shufflevector() $ x86_64-pc-linux-gnu-gcc -O testcase.c=20 during RTL pass: expand testcase.c: In function 'foo': testcase.c:7:9: internal compiler error: in emit_move_insn, at expr.c:4026 7 | V v =3D -(g >> sizeof (g) - 1); | ^~~~~~~~~~~~~~~~~~~~~~ 0x6b8206 emit_move_insn(rtx_def*, rtx_def*) /repo/gcc-trunk/gcc/expr.c:4026 0xe36893 expand_gimple_stmt_1 /repo/gcc-trunk/gcc/cfgexpand.c:4006 0xe36893 expand_gimple_stmt /repo/gcc-trunk/gcc/cfgexpand.c:4040 0xe3c98f expand_gimple_basic_block /repo/gcc-trunk/gcc/cfgexpand.c:6082 0xe3e55e execute /repo/gcc-trunk/gcc/cfgexpand.c:6808 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=