public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/97857] [11 Regression] profiledbootstrap broken freeing speculative call summary since r11-4987-g602c6cfc79ce4ae61e277107e0a60079c1a93a97
Date: Tue, 17 Nov 2020 07:09:45 +0000	[thread overview]
Message-ID: <bug-97857-4-IpegNzsfZf@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-97857-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #12 from Martin Liška <marxin at gcc dot gnu.org> ---
I can confirm that, using dbgcnt-bisect.py script I was able to reduce that to:
-fdbg-cnt=merged_ipa_icf:4876-4877 where the problematic function is really
slide:

../../gcc/hash-table.h:1110:1: optimized: Semantic equality
hit:slide/237223->slide/237233
../../gcc/hash-table.h:1110:1: optimized: Assembler symbol
names:_ZN10hash_tableI18const_fixed_hasherLb0E11xcallocatorE8iterator5slideEv/237223->_ZN10hash_tableI19const_double_hasherLb0E11xcallocatorE8iterator5slideEv/237233
slide (struct iterator * const this)
{
  <bb 2> [count: 316679]:
  goto <bb 6>; [100.00%]

  <bb 3> [count: 715461]:
  # DEBUG x => _2
  # DEBUG v => _2
  # DEBUG INLINE_ENTRY is_empty
  _10 = *_2;
  # DEBUG e => _10
  # DEBUG INLINE_ENTRY NULL
  # DEBUG e => NULL
  # DEBUG v => NULL
  if (_10 != 0B)
    goto <bb 4>; [42.62%]
  else
    goto <bb 5>; [57.38%]

  <bb 4> [count: 304951]:
  # DEBUG v => _2
  # DEBUG INLINE_ENTRY NULL
  # DEBUG e => _10
  # DEBUG INLINE_ENTRY NULL
  # DEBUG e => NULL
  # DEBUG v => NULL
  if (_10 != 1B)
    goto <bb 8>; [100.00%]
  else
    goto <bb 5>; [0.00%]

  <bb 5> [count: 410510]:
  # DEBUG BEGIN_STMT
  _1 = _2 + 8;
  this_7(D)->m_slot = _1;

  <bb 6> [count: 727190]:
  # DEBUG BEGIN_STMT
  _2 = this_7(D)->m_slot;
  _3 = this_7(D)->m_limit;
  if (_2 < _3)
    goto <bb 3>; [98.39%]
  else
    goto <bb 7>; [1.61%]

  <bb 7> [count: 11729]:
  this_7(D)->m_slot = 0B;
  this_7(D)->m_limit = 0B;

  <bb 8> [count: 316679]:
  return;

}


slide (struct iterator * const this)
{
  <bb 2> [count: 258235]:
  goto <bb 6>; [100.00%]

  <bb 3> [count: 715461]:
  # DEBUG x => _2
  # DEBUG v => _2
  # DEBUG INLINE_ENTRY is_empty
  _10 = *_2;
  # DEBUG e => _10
  # DEBUG INLINE_ENTRY NULL
  # DEBUG e => NULL
  # DEBUG v => NULL
  if (_10 != 0B)
    goto <bb 4>; [34.46%]
  else
    goto <bb 5>; [65.54%]

  <bb 4> [count: 246518]:
  # DEBUG v => _2
  # DEBUG INLINE_ENTRY NULL
  # DEBUG e => _10
  # DEBUG INLINE_ENTRY NULL
  # DEBUG e => NULL
  # DEBUG v => NULL
  if (_10 != 1B)
    goto <bb 8>; [100.00%]
  else
    goto <bb 5>; [0.00%]

  <bb 5> [count: 468955]:
  # DEBUG BEGIN_STMT
  _1 = _2 + 8;
  this_7(D)->m_slot = _1;

  <bb 6> [count: 727190]:
  # DEBUG BEGIN_STMT
  _2 = this_7(D)->m_slot;
  _3 = this_7(D)->m_limit;
  if (_2 < _3)
    goto <bb 3>; [98.39%]
  else
    goto <bb 7>; [1.61%]

  <bb 7> [count: 11729]:
  this_7(D)->m_slot = 0B;
  this_7(D)->m_limit = 0B;

  <bb 8> [count: 258235]:
  return;

}

  parent reply	other threads:[~2020-11-17  7:09 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-16 18:22 [Bug bootstrap/97857] New: profiledbootstrap broken freeing speculative call summary hubicka at gcc dot gnu.org
2020-11-16 19:38 ` [Bug bootstrap/97857] [11 Regression] profiledbootstrap broken freeing speculative call summary since r11-4987-g602c6cfc79ce4ae61e277107e0a60079c1a93a97 marxin at gcc dot gnu.org
2020-11-16 19:48   ` Jan Hubicka
2020-11-16 19:48 ` hubicka at ucw dot cz
2020-11-16 19:50 ` marxin at gcc dot gnu.org
2020-11-16 19:54   ` Jan Hubicka
2020-11-16 19:54 ` hubicka at ucw dot cz
2020-11-16 19:58 ` marxin at gcc dot gnu.org
2020-11-16 20:03 ` marxin at gcc dot gnu.org
2020-11-16 20:09   ` Jan Hubicka
2020-11-16 20:09 ` hubicka at ucw dot cz
2020-11-16 21:27 ` hubicka at gcc dot gnu.org
2020-11-16 21:43   ` Jan Hubicka
2020-11-16 21:43 ` hubicka at ucw dot cz
2020-11-16 22:55 ` hubicka at ucw dot cz
2020-11-16 23:30   ` Jan Hubicka
2020-11-16 23:30 ` hubicka at ucw dot cz
2020-11-17  7:09 ` marxin at gcc dot gnu.org [this message]
2020-11-17 14:38 ` cvs-commit at gcc dot gnu.org
2020-11-17 14:43 ` hubicka 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-97857-4-IpegNzsfZf@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).