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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2025-10-31
     Ever confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
#1  0x0000000000e96328 in infer_range_manager::register_all_uses
(this=0x3921600, name=0x7ffff76073f0) at
/home/apinski/src/upstream-gcc-git/gcc/gcc/gimple-range-infer.cc:516
516           gimple_infer_range infer (s, m_query);
(gdb) p debug_generc_expr(name)
No symbol "debug_generc_expr" in current context.
(gdb) p debug_generic_expr(name)
s4_31

The full testcase:

```
short int *ts;

void
c2 (unsigned long long int s4, int ns)
{
  short int *b2 = (short int *)&ns;

  while (ns != 0)
    {
      int xn;

      for (xn = 0; xn < 3; ++xn)
        for (*b2 = 0; *b2 < 2; ++*b2)
          s4 += xn;
      if (s4 != 0)
        b2 = ts;
      ++ns;
    }
}

```

Again this testcase does not need graphite to hit this bug.
`tr2/dynamic_bitset/pr92059.cc  -std=gnu++17` might be failing the same way
too. I have not fully looked into that failure yet. One problem at a time.

Reply via email to