public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/98136] New: [aarch64] Internal compiler error with large classes and virtual methods
@ 2020-12-04  9:33 dark141 at gmail dot com
  2020-12-04  9:50 ` [Bug target/98136] " marxin at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: dark141 at gmail dot com @ 2020-12-04  9:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98136

            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=49676&action=edit
Test case

Combining virtual methods and large (>16Mb) structures results in an internal
compiler error:

$ aarch64-none-linux-gnu-g++ -o test t.cpp
t.cpp: In member function ‘virtual void
Deriv::_ZThn33554440_N5Deriv9AddInCallEv()’:
t.cpp:24:1: internal compiler error: in final_scan_insn_1, at final.c:3079
   24 | }
      | ^
0x90d6cd final_scan_insn_1
       
/tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-linux-gnu/build/src/gcc/gcc/final.c:3079
0x90d88b final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
       
/tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-linux-gnu/build/src/gcc/gcc/final.c:3153
0x90db65 final_1
       
/tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-linux-gnu/build/src/gcc/gcc/final.c:2021
0xe8a720 aarch64_output_mi_thunk
       
/tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-linux-gnu/build/src/gcc/gcc/config/aarch64/aarch64.c:6050
0x8211d8 cgraph_node::expand_thunk(bool, bool)
       
/tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-linux-gnu/build/src/gcc/gcc/cgraphunit.c:1834
0x82209a cgraph_node::assemble_thunks_and_aliases()
       
/tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-linux-gnu/build/src/gcc/gcc/cgraphunit.c:2126
0x82206b cgraph_node::assemble_thunks_and_aliases()
       
/tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-linux-gnu/build/src/gcc/gcc/cgraphunit.c:2144
0x822233 cgraph_node::expand()
       
/tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-linux-gnu/build/src/gcc/gcc/cgraphunit.c:2263
0x82366b output_in_order
       
/tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-linux-gnu/build/src/gcc/gcc/cgraphunit.c:2442
0x82366b symbol_table::compile()
       
/tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-linux-gnu/build/src/gcc/gcc/cgraphunit.c:2686
0x8251e4 symbol_table::finalize_compilation_unit()
       
/tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-linux-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 <https://bugs.linaro.org/> for instructions.
$ 

Using the ARM official 9.2 build. Also present in 10.2

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-04-26  2:22 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-04  9:33 [Bug c++/98136] New: [aarch64] Internal compiler error with large classes and virtual methods dark141 at gmail dot com
2020-12-04  9:50 ` [Bug target/98136] " marxin at gcc dot gnu.org
2020-12-04  9:52 ` [Bug target/98136] [8/9/10/11 Regression] " pinskia at gcc dot gnu.org
2020-12-04 11:45 ` [Bug target/98136] [8/9/10/11 Regression] [aarch64] Internal compiler error with large classes and virtual methods since r8-5967-gf5470a77425a54efebfe1732488c40f05ef176d0 marxin at gcc dot gnu.org
2020-12-04 11:51 ` rguenth at gcc dot gnu.org
2021-01-05 11:35 ` rsandifo at gcc dot gnu.org
2021-03-30 10:43 ` cvs-commit at gcc dot gnu.org
2021-03-30 10:49 ` [Bug target/98136] [8/9/10 " rsandifo at gcc dot gnu.org
2021-04-23  9:10 ` cvs-commit at gcc dot gnu.org
2021-04-25 13:51 ` [Bug target/98136] [8/9 " cvs-commit at gcc dot gnu.org
2021-04-26  8:37 ` [Bug target/98136] [8 " cvs-commit at gcc dot gnu.org
2021-04-26  8:38 ` rsandifo at gcc dot gnu.org
2023-04-26  2:22 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).