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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed, but the IR from the ldp_fusion pass looks ok:
```
(insn 30 29 15 3 (set (reg/f:DI 110)
        (lo_sum:DI (reg/f:DI 109)
            (symbol_ref:DI ("_Z3barv") [flags 0x41]  <function_decl
0x7f1f0f047e00 bar>))) "/app/example.cpp":5:10 discrim 1 -1
     (expr_list:REG_DEAD (reg/f:DI 109)
        (expr_list:REG_EQUAL (symbol_ref:DI ("_Z3barv") [flags 0x41] 
<function_decl 0x7f1f0f047e00 bar>)
            (nil))))
(insn 15 30 32 3 (parallel [
            (set (reg:DI 106)
                (plus:DI (reg:DI 106)
                    (const_int 4 [0x4])))
            (set (mem:SI (reg:DI 106) [0  S4 A8])
                (subreg:SI (reg/f:DI 104) 0))
            (set (mem:SI (plus:DI (reg:DI 106)
                        (const_int 4 [0x4])) [0  S4 A8])
                (subreg:SI (reg/f:DI 110) 0))
        ]) "/app/example.cpp":5:10 discrim 1 102 {*storewb_post_pair_4}
     (nil))
```

Reply via email to