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

--- Comment #2 from Jeffrey A. Law <law at gcc dot gnu.org> ---
I can't reproduce this on the trunk or with the referenced git hashes.

(insn 1444 1443 164 31 (parallel [
            (set (mem/f:SI (pre_dec:SI (reg/f:SI 7 sp)) [3  S4 A32])
                (reg/f:SI 7 sp))
            (clobber (reg:CC 12 cc))
        ]) "libc/inet/getaddrinfo.c":466:11 -1
     (expr_list:REG_ARGS_SIZE (const_int 4 [0x4])
        (nil)))

I'm pretty sure this is ill-formed though.  The register inside the
auto-increment addressing mode isn't allowed to be used elsewhere in the same
insn.  In particular note that we have (pre_dec (reg sp)) and another reference
to (reg sp) in the same insn.

I would probably start by identifying when that happens in the dumps.

Reply via email to