From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E21A83858D37; Tue, 27 Dec 2022 19:33:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E21A83858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1672169617; bh=55Z4XDXXzrPijKEzY29X7JtOuJJ6D3fBhLx/dwYi37Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XhCDl3b4W4fSlZI5DLqgG8HdUPl3A//6Jp63FTJFBB4rYSYkYou/e526EgeRgJ4V2 HV4+iq1u5YsQExTK3H9sce9bLT2sJ1kSIlqoUZJSatyATGwERYLEvLuJyJj86E2s0E +BQsZsGGhCsi0MiAR9Mo+GZtOv6rfvU0WyfduafU= From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/106736] [13 Regression] ICE in gen_movxo, at config/rs6000/mma.md:333 Date: Tue, 27 Dec 2022 19:33:36 +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: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: linkw 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=3D106736 --- Comment #14 from Arseny Solokha --- W/ gcc 13.0.0 20221225 snapshot (g:febb58d28bfa4b544ec7ffec2d61f46d25205ff0= ) I still get this ICE when compiling gcc/testsuite/gcc.target/powerpc/mma-builtin-3.c: % powerpc-e300c3-linux-gnu-gcc-13 -c gcc/testsuite/gcc.target/powerpc/mma-builtin-3.c gcc/testsuite/gcc.target/powerpc/mma-builtin-3.c: In function 'foo1': gcc/testsuite/gcc.target/powerpc/mma-builtin-3.c:20:10: warning: GCC vector returned by reference: non-standard ABI extension with no compatibility guarantee [-Wpsabi] 20 | vec[1] =3D __builtin_vsx_xvcvspbf16 (vec[0]); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ during RTL pass: expand gcc/testsuite/gcc.target/powerpc/mma-builtin-3.c: In function 'foo0': gcc/testsuite/gcc.target/powerpc/mma-builtin-3.c:9:3: internal compiler err= or: in gen_movxo, at config/rs6000/mma.md:339 9 | asm ("#..." : "=3Dd" (acc)); | ^~~ 0x780433 gen_movxo(rtx_def*, rtx_def*) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-13.0.0_p20221225/work/g= cc-13-20221225/gcc/config/rs6000/mma.md:339 0xa767b7 rtx_insn* insn_gen_fn::operator()(rtx_def*, rtx_def*) const =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-13.0.0_p20221225/work/g= cc-13-20221225/gcc/recog.h:407 0xa767b7 emit_move_insn_1(rtx_def*, rtx_def*) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-13.0.0_p20221225/work/g= cc-13-20221225/gcc/expr.cc:4172 0xa76bbf emit_move_insn(rtx_def*, rtx_def*) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-13.0.0_p20221225/work/g= cc-13-20221225/gcc/expr.cc:4342 0xa7ef4e store_expr(tree_node*, rtx_def*, int, bool, bool) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-13.0.0_p20221225/work/g= cc-13-20221225/gcc/expr.cc:6519 0xa81703 expand_assignment(tree_node*, tree_node*, bool) =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-13.0.0_p20221225/work/g= cc-13-20221225/gcc/expr.cc:6051 0x9479f7 expand_asm_stmt =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-13.0.0_p20221225/work/g= cc-13-20221225/gcc/cfgexpand.cc:3345 0x94bd29 expand_gimple_stmt_1 =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-13.0.0_p20221225/work/g= cc-13-20221225/gcc/cfgexpand.cc:3877 0x94bd29 expand_gimple_stmt =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-13.0.0_p20221225/work/g= cc-13-20221225/gcc/cfgexpand.cc:4044 0x951d4e expand_gimple_basic_block =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-13.0.0_p20221225/work/g= cc-13-20221225/gcc/cfgexpand.cc:6096 0x953866 execute =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-13.0.0_p20221225/work/g= cc-13-20221225/gcc/cfgexpand.cc:6822 I don't get the ICE when compiling the testcase from comment 0, though.=