From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2AFD13858412; Wed, 28 Jun 2023 21:24:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2AFD13858412 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687987448; bh=IFBv/0QinRjuWU5dCnKihbd/1NYMuD57LCCyH3o563w=; h=From:To:Subject:Date:From; b=MXO0ZU/N8YZexcwaXImRvzRNy8rRCGwqskuszhYAS2lBfEFhGPfI7d+XIqXcZyuZJ l0dQWGj0qeNM2XUKXDN6khTkH5oTABB22hujVia24ZxW2PjNabgfueTVrjvqfe9f3o mQYe6EEz3cR3KCNv7PLM7WrIW2KhW88HqnjX7nbo= From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/110470] New: Test gcc.c-torture/execute/pr105613.c ICEs in prepare_cmp_insn on s390x with -march=z14 Date: Wed, 28 Jun 2023 21:24:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110470 Bug ID: 110470 Summary: Test gcc.c-torture/execute/pr105613.c ICEs in prepare_cmp_insn on s390x with -march=3Dz14 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: mpolacek at gcc dot gnu.org Target Milestone: --- Take gcc.c-torture/execute/pr105613.c: $ ./cc1 -quiet pr105613.c -Iinclude -march=3Dz13 $ ./cc1 -quiet pr105613.c -Iinclude -march=3Dz14 during RTL pass: expand pr105613.c: In function =E2=80=98foo=E2=80=99: pr105613.c:9:10: internal compiler error: in prepare_cmp_insn, at optabs.cc:4609 9 | *r =3D v !=3D 0; | ~~^~~~ 0x6c59a6 prepare_cmp_insn /home/mpolacek/src/gcc/gcc/optabs.cc:4609 0xd2055f emit_cmp_and_jump_insns(rtx_def*, rtx_def*, rtx_code, rtx_def*, machine_mode, int, tree_node*, rtx_def*, profile_probability) /home/mpolacek/src/gcc/gcc/optabs.cc:4824 0x9fbed9 do_compare_rtx_and_jump(rtx_def*, rtx_def*, rtx_code, int, tree_no= de*, machine_mode, rtx_def*, rtx_code_label*, rtx_code_label*, profile_probabili= ty) /home/mpolacek/src/gcc/gcc/dojump.cc:1238 0x9fd63a do_jump /home/mpolacek/src/gcc/gcc/dojump.cc:620 0xaa22d7 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) /home/mpolacek/src/gcc/gcc/expr.cc:10274 0x988a40 expand_gimple_stmt_1 /home/mpolacek/src/gcc/gcc/cfgexpand.cc:3983 0x988a40 expand_gimple_stmt /home/mpolacek/src/gcc/gcc/cfgexpand.cc:4044 0x98d9a6 expand_gimple_basic_block /home/mpolacek/src/gcc/gcc/cfgexpand.cc:6096 0x98f447 execute /home/mpolacek/src/gcc/gcc/cfgexpand.cc:6831=