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

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
With my current version of the fix
(https://forge.sourceware.org/gcc/gcc-TEST/pulls/21) we get:
```
var ssa address cache
_386 refers to:
        o
_388 refers to:
        o
_390 refers to:
        o
_391 refers to:
        o
_392 refers to:
        o
_394 refers to:
        o
_395 refers to:
        o
_398 refers to:
        o

Partition 0: size 12 align 2
        q
Partition 1: size 3 align 1
        o

```

But note there is a missing optmization here:
```
  _386 = (sizetype) &o;
  _387 = (sizetype) &MEM <char[11]> [(void *)&p + 2B];
  _388 = _386 + _387;
  _389 = (sizetype) &p;
  _390 = _388 - _389;
  h_391 = (char *) _390;
```
this is `&o + (&p + 2) - &p` . Let me file that seperately.

Reply via email to