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

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Anyway, seems that cselib_invalidate_mem on
(mem/c:V4SI (plus:DI (reg/f:DI 7 sp) (const_int -120 [0xffffffffffffff88])) [1 
S16 A128])
invalidates all the entries from first_containing_mem chain, except for MEMs
with
MEM_EXPRs, so
(mem/c:QI (value:DI 66:6567 @0x3958e08/0x3939400) [0 c+0 S1 A8])
(mem/c:V1TI (value:DI 14:3463223136 @0x3958928/0x3938a40) [1 foo0_v512u32_0+48
S16 (mem/c:V1TI (value:DI 11:3463223120 @0x39588e0/0x39389b0) [1
foo0_v512u32_0+32 S16 A256])
(mem/c:V1TI (value:DI 8:3463223104 @0x3958898/0x3938920) [1 foo0_v512u32_0+16
S16 A128])
(mem/c:V1TI (value:DI 4:3463218702 @0x3955a08/0x3935a30) [1 foo0_v512u32_0+0
S16 A512])
everything else goes away.  The function is called with n_useless_values 4 and
increments it to 14 in the -g0 case and to 17 in the -g case.

Reply via email to