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

--- Comment #6 from Matthew Malcomson <matmal01 at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #5)
> RTLs job (on the lowered address form)

To make sure I understand -- by lowered address form do you mean the RTL that
expand generates or a more basic form that the optimizers should have
generated?
If the second I'd point out that the original form that gets generated during
gimplification stays around for the entire compilation pipeline, so there is no
place that currently makes this form easier to recognise.

E.g. the `expand` pass that dumps the following:
```
;; x_8 = p_7(D)->S[1][_1];

(insn 13 12 15 (set (reg:DI 107)
        (zero_extend:DI (reg:SI 101 [ _1 ]))) "repro/repro.c":15:9 -1
     (nil))

(insn 15 13 16 (set (reg:DI 109)
        (plus:DI (reg:DI 107)
            (const_int 256 [0x100]))) "repro/repro.c":15:9 -1
     (nil))

(insn 16 15 0 (set (reg/v:SI 105 [ xD.4412 ])
        (mem:SI (plus:DI (mult:DI (reg:DI 109)
                    (const_int 4 [0x4]))
                (reg/v/f:DI 104 [ pD.4411 ])) [1 p_7(D)->SD.4410[1][_1]+0 S4
A32])) "repro/repro.c":15:9 -1
     (nil))
```

Reply via email to