public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "romain.geissler at amadeus dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/96291] [10/11 Regression] -flto fails as "internal compiler error: Segmentation fault" during IPA pass: cp incall_for_symbol_thunks_and_aliases()
Date: Fri, 24 Jul 2020 12:25:39 +0000	[thread overview]
Message-ID: <bug-96291-4-2TahrGmY6l@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-96291-4@http.gcc.gnu.org/bugzilla/>

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

Romain Geissler <romain.geissler at amadeus dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |romain.geissler at amadeus dot com

--- Comment #3 from Romain Geissler <romain.geissler at amadeus dot com> ---
Hi,

FYI, I just tried to build Protobuf 3.12.3 with the trunk from a few days ago,
using "-flto" and I experience similar ICE:

[2020-07-24T12:16:07.637Z]   CXXLD    protobuf-lite-test
[2020-07-24T12:16:10.993Z] during IPA pass: cp
[2020-07-24T12:16:10.993Z] lto1: internal compiler error: Segmentation fault
[2020-07-24T12:16:15.263Z] 0x9e42da crash_signal
[2020-07-24T12:16:15.263Z]      /workdir/src/gcc-11.0.0/gcc/toplev.c:328
[2020-07-24T12:16:15.263Z] 0xfe6b04 has_undead_caller_from_outside_scc_p
[2020-07-24T12:16:15.263Z]      /workdir/src/gcc-11.0.0/gcc/ipa-cp.c:5670
[2020-07-24T12:16:15.263Z] 0xf042c0
cgraph_node::call_for_symbol_thunks_and_aliases(bool (*)(cgraph_node*, void*),
void*, bool, bool)
[2020-07-24T12:16:15.263Z]      /workdir/src/gcc-11.0.0/gcc/cgraph.c:2450
[2020-07-24T12:16:15.263Z] 0x13130bc identify_dead_nodes
[2020-07-24T12:16:15.263Z]      /workdir/src/gcc-11.0.0/gcc/ipa-cp.c:5687
[2020-07-24T12:16:15.263Z] 0x13130bc ipcp_decision_stage
[2020-07-24T12:16:15.263Z]      /workdir/src/gcc-11.0.0/gcc/ipa-cp.c:5730
[2020-07-24T12:16:15.263Z] 0x13130bc ipcp_driver
[2020-07-24T12:16:15.263Z]      /workdir/src/gcc-11.0.0/gcc/ipa-cp.c:5908
[2020-07-24T12:16:15.263Z] 0x13130bc execute
[2020-07-24T12:16:15.263Z]      /workdir/src/gcc-11.0.0/gcc/ipa-cp.c:5999
[2020-07-24T12:16:15.263Z] Please submit a full bug report,
[2020-07-24T12:16:15.263Z] with preprocessed source if appropriate.
[2020-07-24T12:16:15.263Z] Please include the complete backtrace with any bug
report.
[2020-07-24T12:16:15.263Z] See <https://gcc.gnu.org/bugs/> for instructions.
[2020-07-24T12:16:15.263Z]   CXXLD    protobuf-lite-arena-test
[2020-07-24T12:16:15.263Z] lto-wrapper: fatal error: g++ returned 1 exit status
[2020-07-24T12:16:15.263Z] compilation terminated.

If you have a patch, I can try to test it as well on this Protobuf case.

Cheers,
Romain

  parent reply	other threads:[~2020-07-24 12:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-22 22:41 [Bug lto/96291] New: " slyfox at inbox dot ru
2020-07-23  6:00 ` [Bug ipa/96291] [10/11 Regression] " rguenth at gcc dot gnu.org
2020-07-23  9:08 ` marxin at gcc dot gnu.org
2020-07-23 10:10 ` jamborm at gcc dot gnu.org
2020-07-24 12:25 ` romain.geissler at amadeus dot com [this message]
2020-07-24 18:08 ` slyfox at inbox dot ru
2020-07-25 11:54 ` slyfox at inbox dot ru
2020-07-25 14:09 ` slyfox at inbox dot ru
2020-07-25 18:37 ` slyfox at inbox dot ru
2020-07-27 12:43 ` jamborm at gcc dot gnu.org
2020-07-28 22:31 ` cvs-commit at gcc dot gnu.org
2020-08-12 17:11 ` [Bug ipa/96291] [10 Regression] -flto fails as ICE " marxin at gcc dot gnu.org
2020-08-12 17:40 ` cvs-commit at gcc dot gnu.org
2020-08-12 17:43 ` marxin 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-96291-4-2TahrGmY6l@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).