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

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The code for get_max_insn_count is the following:

```
int
get_max_insn_count (void)
{
  int n = cur_insn_uid;

  /* The table size must be stable across -g, to avoid codegen
     differences due to debug insns, and not be affected by
     -fmin-insn-uid, to avoid excessive table size and to simplify
     debugging of -fcompare-debug failures.  */
  if (cur_debug_insn_uid > param_min_nondebug_insn_uid)
    n -= cur_debug_insn_uid;
  else
    n -= param_min_nondebug_insn_uid;

  return n;
}


```

But this is definitely not working the way it should be.
-num of insn: 120
+num of insn: 116

Reply via email to