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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Sam James from comment #3)
> r16-160-ge6f89d78c1a752 but latent then


Looks like a latent bug in LRA though.
Before LRA we have:
```

(debug_insn 12 11 13 2 (var_location:BLK v (concatn:BLK [
            (plus:V2DI (plus:V2DI (subreg:V2DI (and:TI (subreg:TI (subreg:DI
(plus:V2DI (mem/c:V2DI (plus:DI (reg/f:DI 16 argp)
                                                (const_int 48 [0x30])) [2 v+48
S16 A128])
                                        (concatn:V2DI [
                                                (const_int -1
[0xffffffffffffffff]) repeated x2
                                            ])) 8) 0)
                            (const_int 4294967295 [0xffffffff])) 0)
                    (concatn:V2DI [
                            (const_int -1 [0xffffffffffffffff]) repeated x2
                        ]))
                (mem/c:V2DI (reg/f:DI 16 argp) [2 v+0 S16 A512]))
            (plus:V2DI (mem/c:V2DI (plus:DI (reg/f:DI 16 argp)
                        (const_int 16 [0x10])) [2 v+16 S16 A128])
                (concatn:V2DI [
                        (const_int -1 [0xffffffffffffffff]) repeated x2
                    ]))
            (plus:V2DI (mem/c:V2DI (plus:DI (reg/f:DI 16 argp)
                        (const_int 32 [0x20])) [2 v+32 S16 A256])
                (concatn:V2DI [
                        (const_int -1 [0xffffffffffffffff]) repeated x2
                    ]))
            (plus:V2DI (mem/c:V2DI (plus:DI (reg/f:DI 16 argp)
                        (const_int 48 [0x30])) [2 v+48 S16 A128])
                (concatn:V2DI [
                        (const_int 1 [0x1])
                        (const_int -1 [0xffffffffffffffff])
                    ]))
            (const_int 0 [0]) repeated x4
        ])) "/app/example.cpp":9:5 -1
     (nil))
```

And after we get a nullptr for the `subreg:TI (subreg:DI` ...

Reply via email to