public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "burnus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/94320] New: [OpenMP][Offloading] lto1 ICE during IPA pass: inline – offline_size at gcc/ipa-inline-analysis.c:453 Date: Wed, 25 Mar 2020 11:26:03 +0000 [thread overview] Message-ID: <bug-94320-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94320 Bug ID: 94320 Summary: [OpenMP][Offloading] lto1 ICE during IPA pass: inline – offline_size at gcc/ipa-inline-analysis.c:453 Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, openmp Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- May or may not be related to PR 92029 Still reducing the test case. When compiling with "-fopenmp -O0" it works, but with "-fopenmp -O1" the offloading-compiler (AMDGCN or – has here – nvptx) ICEs with: during IPA pass: inline lto1: internal compiler error: Segmentation fault 0xbdb6ff crash_signal /net/build5-trusty-cs/scratch/tburnus/openacc.x86_64-linux-gnu-openacc-mainline/src/gcc-mainline/gcc/toplev.c:328 0x98074f offline_size /net/build5-trusty-cs/scratch/tburnus/openacc.x86_64-linux-gnu-openacc-mainline/src/gcc-mainline/gcc/ipa-inline-analysis.c:453 0x980b58 growth_positive_p(cgraph_node*, cgraph_edge*, int) /net/build5-trusty-cs/scratch/tburnus/openacc.x86_64-linux-gnu-openacc-mainline/src/gcc-mainline/gcc/ipa-inline-analysis.c:549 0x138610f want_inline_function_to_all_callers_p /net/build5-trusty-cs/scratch/tburnus/openacc.x86_64-linux-gnu-openacc-mainline/src/gcc-mainline/gcc/ipa-inline.c:1088 0x138c37f ipa_inline /net/build5-trusty-cs/scratch/tburnus/openacc.x86_64-linux-gnu-openacc-mainline/src/gcc-mainline/gcc/ipa-inline.c:2752 0x138d099 execute /net/build5-trusty-cs/scratch/tburnus/openacc.x86_64-linux-gnu-openacc-mainline/src/gcc-mainline/gcc/ipa-inline.c:3091 It fails in ipa-inline-analysis.c's: offline_size (struct cgraph_node *node, ipa_size_summary *info) { if (!DECL_EXTERNAL (node->decl)) { if (node->will_be_removed_from_program_if_no_direct_calls_p ()) return info->size; as info == NULL and decl is " <function_decl 0x7ffff73df500 __ct_base " "info" is: ipa_size_summary *s = ipa_size_summaries->get (node); And ->get returns: 369 return exists (node) ? (*m_vector)[node->get_summary_id ()] : NULL;
next reply other threads:[~2020-03-25 11:26 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-03-25 11:26 burnus at gcc dot gnu.org [this message] 2020-03-25 11:39 ` [Bug lto/94320] " jakub at gcc dot gnu.org 2020-03-26 9:50 ` burnus 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-94320-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: linkBe 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).