From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EF6163890416; Sun, 8 Aug 2021 19:25:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EF6163890416 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/101819] New: [12 Regression] ICE in expand_expr_real_2, at expr.c:9552 since r12-2789-gf31da42e047e8018ca6ad9809273bc7efb6ffcaf Date: Sun, 08 Aug 2021 19:25:29 +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: 12.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin 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 keywords bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost 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: Sun, 08 Aug 2021 19:25:30 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101819 Bug ID: 101819 Summary: [12 Regression] ICE in expand_expr_real_2, at expr.c:9552 since r12-2789-gf31da42e047e8018ca6ad9809273bc7efb6ffcaf Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: rguenth at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux-gnu Target: riscv64-unknown-linux-gnu The following fails: $ ./xgcc -B. /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/execute/pr51581-1.c -ftree-loop-vectorize -O1 -S during RTL pass: expand /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/execute/pr51581-1.= c: In function =E2=80=98f2=E2=80=99: /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/execute/pr51581-1.= c:24:10: internal compiler error: in expand_expr_real_2, at expr.c:9552 24 | d[i] =3D b[i] / 3; | ~~~~~^~~~~~~~~~ 0xdd51c5 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) /home/marxin/Programming/gcc2/gcc/expr.c:9552 0xdd91fb expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /home/marxin/Programming/gcc2/gcc/expr.c:10480 0xdd1573 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifi= er, rtx_def**, bool) /home/marxin/Programming/gcc2/gcc/expr.c:8713 0xdb0813 expand_expr /home/marxin/Programming/gcc2/gcc/expr.h:301 0xdd60ef expand_expr_real_2(separate_ops*, rtx_def*, machine_mode, expand_modifier) /home/marxin/Programming/gcc2/gcc/expr.c:9780 0xdd91fb expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /home/marxin/Programming/gcc2/gcc/expr.c:10480 0xdd1573 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifi= er, rtx_def**, bool) /home/marxin/Programming/gcc2/gcc/expr.c:8713 0xdb0848 expand_normal /home/marxin/Programming/gcc2/gcc/expr.h:307 0xdcc54a store_field /home/marxin/Programming/gcc2/gcc/expr.c:7439 0xdc8875 store_constructor_field /home/marxin/Programming/gcc2/gcc/expr.c:6672 0xdcb9fe store_constructor /home/marxin/Programming/gcc2/gcc/expr.c:7289 0xdd14b4 expand_constructor /home/marxin/Programming/gcc2/gcc/expr.c:8634 0xddaad0 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /home/marxin/Programming/gcc2/gcc/expr.c:10819 0xdd1573 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifi= er, rtx_def**, bool) /home/marxin/Programming/gcc2/gcc/expr.c:8713 0xdd923f expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /home/marxin/Programming/gcc2/gcc/expr.c:10484 0xdd1573 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifi= er, rtx_def**, bool) /home/marxin/Programming/gcc2/gcc/expr.c:8713 0xdc658f store_expr(tree_node*, rtx_def*, int, bool, bool) /home/marxin/Programming/gcc2/gcc/expr.c:6064 0xdc4e24 expand_assignment(tree_node*, tree_node*, bool) /home/marxin/Programming/gcc2/gcc/expr.c:5796 0xc3a209 expand_gimple_stmt_1 /home/marxin/Programming/gcc2/gcc/cfgexpand.c:3945 0xc3a5fe expand_gimple_stmt /home/marxin/Programming/gcc2/gcc/cfgexpand.c:4043 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=