From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8B7FB3857033; Tue, 5 Jan 2021 16:00:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8B7FB3857033 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/98537] New: [11 Regression] ICE in emit_move_insn since r11-5839 Date: Tue, 05 Jan 2021 16:00:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org 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 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, 05 Jan 2021 16:00:18 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98537 Bug ID: 98537 Summary: [11 Regression] ICE in emit_move_insn since r11-5839 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- Since r11-5839-g3a6e3ad38a17a03ee0139b49a0946e7b9ded1eb1 we ICE on the following testcase on x86_64-linux with -O2: typedef int V __attribute__((__vector_size__(32))); typedef long W __attribute__((__vector_size__(32))); W c, d; struct B {}; B e; struct C { W i; }; void foo (C); C operator=3D=3D (B, B) { W r =3D (V)c =3D=3D (V)d; return {r}; } __attribute__((target ("avx512vl"))) void bar () { B a; foo (a =3D=3D e); } entropy_coder.cc.ii: In function =E2=80=98void bar()=E2=80=99: entropy_coder.cc.ii:13:12: internal compiler error: in emit_move_insn, at expr.c:3820 13 | return {r}; | ^ 0x11b183f emit_move_insn(rtx_def*, rtx_def*) ../../gcc/expr.c:3820 0x1e51e63 ix86_expand_int_vec_cmp(rtx_def**) ../../gcc/config/i386/i386-expand.c:4304 0x23f8be7 gen_vec_cmpv8siv8si(rtx_def*, rtx_def*, rtx_def*, rtx_def*) ../../gcc/config/i386/sse.md:3226 0x15acff0 rtx_insn* insn_gen_fn::operator()(rtx_def*, rtx_def*, rtx_def*, rtx_def*) const ../../gcc/recog.h:407 0x15aa82a maybe_gen_insn(insn_code, unsigned int, expand_operand*) ../../gcc/optabs.c:7787 0x15aab20 maybe_expand_insn(insn_code, unsigned int, expand_operand*) ../../gcc/optabs.c:7818 0x15aabb4 expand_insn(insn_code, unsigned int, expand_operand*) ../../gcc/optabs.c:7849 0x15a6952 expand_vec_cmp_expr(tree_node*, tree_node*, rtx_def*) ../../gcc/optabs.c:6285 0x11d746d do_store_flag ../../gcc/expr.c:12373=