public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dark141 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
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	[thread overview]
Message-ID: <bug-98136-4@http.gcc.gnu.org/bugzilla/> (raw)

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

             reply	other threads:[~2020-12-04  9:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-04  9:33 dark141 at gmail dot com [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-98136-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).