From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D15303857827; Tue, 19 Jan 2021 10:29:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D15303857827 From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/98743] New: ICE in convert_move, at expr.c:220 Date: Tue, 19 Jan 2021 10:29: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: 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 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: Tue, 19 Jan 2021 10:29:50 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98743 Bug ID: 98743 Summary: ICE in convert_move, at expr.c:220 Product: gcc Version: 11.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 Target Milestone: --- Host: x86_64-linux Target: riscv64-linux-gnu I see the following with a cross compiler: $ riscv64-linux-gnu-g++ /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/cpp0x/initlist-value.C -Og -fno-early-inlining -finline-small-functions -fpack-struct -c during RTL pass: expand /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/cpp0x/initlist-value.C: In function =E2=80=98int main()=E2=80=99: /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/cpp0x/initlist-value.C:24= :26: internal compiler error: in convert_move, at expr.c:220 24 | A* ap =3D new (&space) A{}; | ^ 0x5f6b1a convert_move(rtx_def*, rtx_def*, int) =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-riscv64/build/gcc= /expr.c:220 0x9a1787 store_expr(tree_node*, rtx_def*, int, bool, bool) =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-riscv64/build/gcc= /expr.c:5796 0x9a308c expand_assignment(tree_node*, tree_node*, bool) =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-riscv64/build/gcc= /expr.c:5465 0x89d96d expand_gimple_stmt_1 =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-riscv64/build/gcc= /cfgexpand.c:3909 0x89d96d expand_gimple_stmt =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-riscv64/build/gcc= /cfgexpand.c:4007 0x8a1407 expand_gimple_basic_block =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-riscv64/build/gcc= /cfgexpand.c:6044 0x8a3696 execute =20=20=20=20=20=20=20 /home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-riscv64/build/gcc= /cfgexpand.c:6728 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=