From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 084EF3858D39; Sat, 8 Jul 2023 08:51:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 084EF3858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688806288; bh=d+HtSg1iF7O4uFAOvRo5wJJH/dqoCoGh0+KyQQ7vz8w=; h=From:To:Subject:Date:From; b=nS4vLSyfSJrh820Q0K3vmh7l+o1dq9sLiNbIt9lmmI5wK2s3xXGN5zkkFG/LAST9u V3AqpxCjp3bxtyvoecqE6tfTuwj8MhfK96Il4ASSOFXCWme7QTOJ2EsWZu17AkXC9J DSYAryi3ztpm8zQXOqdGSSS8DuOT2ajrIuGfV6xo= From: "doko at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/110597] New: [12/13/14 Regression] ICE in emit_move_insn, at expr.cc:4224 on alpha-linux-gnu Date: Sat, 08 Jul 2023 08:51:27 +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.4.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: doko 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=3D110597 Bug ID: 110597 Summary: [12/13/14 Regression] ICE in emit_move_insn, at expr.cc:4224 on alpha-linux-gnu Product: gcc Version: 12.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Target Milestone: --- forwarded from https://bugs.debian.org/1019011 seen with current gcc-12 and gcc-13 branches and trunk on alpha-linux-gnu, -mbuild-constants triggers the issue $ cat tst.i short *a; void b() { a[0] =3D a[1] =3D a[2] =3D a[3] =3D 2; } $ alpha-linux-gnu-gcc-13 -c -msmall-text -msmall-data -mno-fp-regs -mbuild-constants -mcpu=3Dev67 -O2 tst.i during RTL pass: expand tst.i: In function =E2=80=98b=E2=80=99: tst.i:2:17: internal compiler error: in emit_move_insn, at expr.cc:4224 2 | void b() { a[0] =3D a[1] =3D a[2] =3D a[3] =3D 2; } | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 0x596354 emit_move_insn(rtx_def*, rtx_def*) ../../src/gcc/expr.cc:4224 0xe01205 alpha_emit_set_long_const ../../src/gcc/config/alpha/alpha.cc:2094 0xe095aa alpha_split_const_mov(machine_mode, rtx_def**) ../../src/gcc/config/alpha/alpha.cc:2208 0xe09711 alpha_expand_mov(machine_mode, rtx_def**) ../../src/gcc/config/alpha/alpha.cc:2254 0x1168e59 gen_movv4hi(rtx_def*, rtx_def*) ../../src/gcc/config/alpha/alpha.md:4463 0x801697 rtx_insn* insn_gen_fn::operator()(rtx_def*, rtx_def*) const ../../src/gcc/recog.h:407 0x801697 emit_move_ccmode ../../src/gcc/expr.cc:4043 0x801697 emit_move_insn_1(rtx_def*, rtx_def*) ../../src/gcc/expr.cc:4188 0x801a7f emit_move_insn(rtx_def*, rtx_def*) ../../src/gcc/expr.cc:4339 0x7dfae7 force_reg(machine_mode, rtx_def*) ../../src/gcc/explow.cc:683 0xe0be16 alpha_expand_movmisalign(machine_mode, rtx_def**) ../../src/gcc/config/alpha/alpha.cc:2414 0x1169096 gen_movmisalignv4hi(rtx_def*, rtx_def*) ../../src/gcc/config/alpha/alpha.md:4485 0xa31258 maybe_expand_insn(insn_code, unsigned int, expand_operand*) ../../src/gcc/optabs.cc:8153 0xa31258 expand_insn(insn_code, unsigned int, expand_operand*) ../../src/gcc/optabs.cc:8184 0x80ab17 expand_assignment(tree_node*, tree_node*, bool) ../../src/gcc/expr.cc:5613 0x701ee2 expand_gimple_stmt_1 ../../src/gcc/cfgexpand.cc:3946 0x701ee2 expand_gimple_stmt ../../src/gcc/cfgexpand.cc:4044 0x706cb7 expand_gimple_basic_block ../../src/gcc/cfgexpand.cc:6106 0x7088e6 execute ../../src/gcc/cfgexpand.cc:6841 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report.=