From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 85DCF385483C; Fri, 4 Dec 2020 09:33:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 85DCF385483C From: "dark141 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/98136] New: [aarch64] Internal compiler error with large classes and virtual methods Date: Fri, 04 Dec 2020 09:33:24 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dark141 at gmail dot com 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 attachments.created 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: Fri, 04 Dec 2020 09:33:24 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98136 Bug ID: 98136 Summary: [aarch64] Internal compiler error with large classes and virtual methods Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dark141 at gmail dot com Target Milestone: --- Created attachment 49676 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D49676&action=3Dedit Test case Combining virtual methods and large (>16Mb) structures results in an intern= al compiler error: $ aarch64-none-linux-gnu-g++ -o test t.cpp t.cpp: In member function =E2=80=98virtual void Deriv::_ZThn33554440_N5Deriv9AddInCallEv()=E2=80=99: t.cpp:24:1: internal compiler error: in final_scan_insn_1, at final.c:3079 24 | } | ^ 0x90d6cd final_scan_insn_1 =20=20=20=20=20=20=20 /tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-lin= ux-gnu/build/src/gcc/gcc/final.c:3079 0x90d88b final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) =20=20=20=20=20=20=20 /tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-lin= ux-gnu/build/src/gcc/gcc/final.c:3153 0x90db65 final_1 =20=20=20=20=20=20=20 /tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-lin= ux-gnu/build/src/gcc/gcc/final.c:2021 0xe8a720 aarch64_output_mi_thunk =20=20=20=20=20=20=20 /tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-lin= ux-gnu/build/src/gcc/gcc/config/aarch64/aarch64.c:6050 0x8211d8 cgraph_node::expand_thunk(bool, bool) =20=20=20=20=20=20=20 /tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-lin= ux-gnu/build/src/gcc/gcc/cgraphunit.c:1834 0x82209a cgraph_node::assemble_thunks_and_aliases() =20=20=20=20=20=20=20 /tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-lin= ux-gnu/build/src/gcc/gcc/cgraphunit.c:2126 0x82206b cgraph_node::assemble_thunks_and_aliases() =20=20=20=20=20=20=20 /tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-lin= ux-gnu/build/src/gcc/gcc/cgraphunit.c:2144 0x822233 cgraph_node::expand() =20=20=20=20=20=20=20 /tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-lin= ux-gnu/build/src/gcc/gcc/cgraphunit.c:2263 0x82366b output_in_order =20=20=20=20=20=20=20 /tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-lin= ux-gnu/build/src/gcc/gcc/cgraphunit.c:2442 0x82366b symbol_table::compile() =20=20=20=20=20=20=20 /tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-lin= ux-gnu/build/src/gcc/gcc/cgraphunit.c:2686 0x8251e4 symbol_table::finalize_compilation_unit() =20=20=20=20=20=20=20 /tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-lin= ux-gnu/build/src/gcc/gcc/cgraphunit.c:2865 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $=20 Using the ARM official 9.2 build. Also present in 10.2=