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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2026-11-18
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #2 from Drea Pinski <pinskia at gcc dot gnu.org> ---
I thought the laddress pass lowers it before LIM.

Looks like laddress does not lower it after all:
  _1 = x_12 & 255;
  x_8 = p_7(D)->S[1][_1];


Even this is not handled:
```

    struct tables
    {
      unsigned S[4][256];
    };
 struct tables p1;
    unsigned
    lookup (const struct tables *p, unsigned x, unsigned int n)
    {
      p = &p1;
      for (unsigned int j = 0; j < n; ++j)
        {
    #ifdef HOIST
          const unsigned *s1 = p->S[1];
          x = s1[x & 255];
    #else
          x = p->S[1][x & 255];
    #endif
        }
      return x;
    }

```

Reply via email to