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 ipa/97292] [11 Regression] dealII from SPECCPU 2016 no longer terminates after g:c34db4b6f8a5d80367c709309f9b00cb32630054
Date: Thu, 08 Oct 2020 11:38:55 +0000	[thread overview]
Message-ID: <bug-97292-4-qzfRCKmWDm@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-97292-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
Ok, I've just installed the patch with the debug counter.

I can reproduce it with first bad value with --param=lto-partitions=1:
-fdbg-cnt=ipa_mod_ref:16848

and the difference comes from dealII.ltrans0.ltrans.137t.pre:

distribute_dofs (struct DoFHandler * const this, const struct FiniteElement &
ff, const unsigned int offset):

GOOD:
  <bb 164> [local count: 410235502]:
  # __n_981 = PHI <__n_979(163), __n_978(162)>
  # __tmp$_M_p_984 = PHI <_980(163), _977(162)>
  _982 = (unsigned int) __n_981;
  _983 = 1 << _982;
  _985 = *__tmp$_M_p_984;
  _986 = _983 | _985;
  *__tmp$_M_p_984 = _986;
  operator++ (&cell);
  _25 = BIT_FIELD_REF <MEM[(const struct TriaAccessor *)&cell + 8B], 64, 0>;
  if (_25 != -1)
    goto <bb 165>; [89.00%]
  else
    goto <bb 166>; [11.00%]

  <bb 165> [local count: 365109597]:
  pretmp_2354 = MEM[(int *)&cell + 12B];
  goto <bb 132>; [100.00%]

  <bb 166> [local count: 50703262]:
  # next_free_dof_577 = PHI <offset_13(D)(128), next_free_dof_822(164)>
  this_6(D)->used_dofs = next_free_dof_577;
  MEM[(struct _Bvector_impl_data *)&tmp] ={v} {CLOBBER};
  MEM[(struct __as_base  &)&tmp] ={v} {CLOBBER};

BAD:
  <bb 164> [local count: 410235502]:
  # __n_981 = PHI <__n_979(163), __n_978(162)>
  # __tmp$_M_p_984 = PHI <_980(163), _977(162)>
  _982 = (unsigned int) __n_981;
  _983 = 1 << _982;
  _985 = *__tmp$_M_p_984;
  _986 = _983 | _985;
  *__tmp$_M_p_984 = _986;
  operator++ (&cell);
  _25 = BIT_FIELD_REF <MEM[(const struct TriaAccessor *)&cell + 8B], 64, 0>;
  if (_25 != -1)
    goto <bb 132>; [89.00%]
  else
    goto <bb 165>; [11.00%]

  <bb 165> [local count: 50703262]:
  # next_free_dof_577 = PHI <offset_13(D)(128), next_free_dof_822(164)>
  this_6(D)->used_dofs = next_free_dof_577;
  MEM[(struct _Bvector_impl_data *)&tmp] ={v} {CLOBBER};
  MEM[(struct __as_base  &)&tmp] ={v} {CLOBBER};

  parent reply	other threads:[~2020-10-08 11:38 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-05 13:53 [Bug ipa/97292] New: " tnfchris at gcc dot gnu.org
2020-10-06  7:40 ` [Bug ipa/97292] " marxin at gcc dot gnu.org
2020-10-08  8:25   ` Jan Hubicka
2020-10-06  8:27 ` marxin at gcc dot gnu.org
2020-10-06 16:44 ` hubicka at ucw dot cz
2020-10-07  9:13 ` marxin at gcc dot gnu.org
2020-10-07 11:20 ` rguenth at gcc dot gnu.org
2020-10-08  8:25 ` hubicka at ucw dot cz
2020-10-08 11:38 ` marxin at gcc dot gnu.org [this message]
2020-10-08 12:18 ` marxin at gcc dot gnu.org
2020-10-08 12:18 ` marxin at gcc dot gnu.org
2020-10-08 12:23 ` marxin at gcc dot gnu.org
2020-10-08 15:34 ` [Bug ipa/97292] [11 Regression] dealII from SPECCPU 2006 " marxin at gcc dot gnu.org
2020-10-08 15:53 ` tnfchris at gcc dot gnu.org
2020-10-08 17:29 ` hubicka at gcc dot gnu.org
2020-10-08 17:36 ` hubicka at gcc dot gnu.org
2020-10-08 17:44 ` hubicka at gcc dot gnu.org
2020-10-09  7:07 ` marxin at gcc dot gnu.org
2020-10-09  7:31 ` hubicka at gcc dot gnu.org
2020-10-09  7:42 ` marxin at gcc dot gnu.org
2020-10-09 10:27 ` cvs-commit at gcc dot gnu.org
2020-10-09 10:28 ` 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-97292-4-qzfRCKmWDm@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).