From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B40BB384605A; Thu, 1 Apr 2021 11:37:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B40BB384605A From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/99867] New: [11 Regression] ICE in to_constant, at poly-int.h:504 Date: Thu, 01 Apr 2021 11:37:50 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com 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 cf_gcctarget 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: Thu, 01 Apr 2021 11:37:50 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99867 Bug ID: 99867 Summary: [11 Regression] ICE in to_constant, at poly-int.h:504 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: aarch64-linux-gnu gcc-11.0.1-alpha20210328 snapshot (g:499fa254ae8c9752d8c2cf3130b13ffddfd835= 46) ICEs when compiling gcc/testsuite/gcc.target/aarch64/sve/acle/general/struct_1.c: % aarch64-linux-gnu-gcc-11.0.1 -c gcc/testsuite/gcc.target/aarch64/sve/acle/general/struct_1.c during RTL pass: expand gcc/testsuite/gcc.target/aarch64/sve/acle/general/struct_1.c: In function '= f': gcc/testsuite/gcc.target/aarch64/sve/acle/general/struct_1.c:7:14: internal compiler error: in to_constant, at poly-int.h:504 7 | svint8x2_t x =3D *a; | ^ 0x6cfe32 poly_int_pod<2u, unsigned short>::to_constant() const =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210328/work/gcc-= 11-20210328/gcc/poly-int.h:504 0x6d5651 poly_int_pod<2u, unsigned short>::to_constant() const =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210328/work/gcc-= 11-20210328/gcc/expr.c:3695 0x6d5651 emit_move_multi_word =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210328/work/gcc-= 11-20210328/gcc/expr.c:3680 0xb450ce emit_move_insn(rtx_def*, rtx_def*) =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210328/work/gcc-= 11-20210328/gcc/expr.c:3936 0xb4d8a7 store_expr(tree_node*, rtx_def*, int, bool, bool) =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210328/work/gcc-= 11-20210328/gcc/expr.c:6072 0xb4f2c0 expand_assignment(tree_node*, tree_node*, bool) =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210328/work/gcc-= 11-20210328/gcc/expr.c:5622 0xa158d7 expand_gimple_stmt_1 =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210328/work/gcc-= 11-20210328/gcc/cfgexpand.c:3910 0xa158d7 expand_gimple_stmt =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210328/work/gcc-= 11-20210328/gcc/cfgexpand.c:4008 0xa1bbea expand_gimple_basic_block =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210328/work/gcc-= 11-20210328/gcc/cfgexpand.c:6045 0xa1d78f execute =20=20=20=20=20=20=20 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-11.0.1_alpha20210328/work/gcc-= 11-20210328/gcc/cfgexpand.c:6729 It does not ICE when provided w/ -march containing "+sve", so I wonder if t= his PR is really a duplicate of PR99657.=