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

--- Comment #23 from Segher Boessenkool <segher at gcc dot gnu.org> ---
It is harder for us to track it in an older bug with many older patches
for it, including stuff that needed fixups later.  And, the "correct"
older bug for it would not be this one, anyway!


Before RA we have asm inputs
                    [
                        (reg/v:SI 196 [ n ])
                        (reg/v:SI 4 $4 [ r4 ])
                        (reg/v:SI 5 $5 [ r5 ])
                        (reg/v:SI 6 $6 [ r6 ])
                        (reg/v:SI 7 $7 [ r7 ])
                        (reg/v:SI 8 $8 [ r8 ])
                        (reg/v:SI 9 $9 [ r9 ])
                    ]
(and $2 an earlyclobber).  But then IRA decides

Disposition:
    0:r195 l0     2    1:r196 l0     2


Peter, do you know which patch fixed this (is that the one you quoted above?),
and if it could feasibly be backported separately?

Only GCC 8 and later branches are still open, fwiw (but some distros still
have older maintained versions).


Rich, forcing "n" to be in "$r10" seems to do the trick?  Is that a reasonable
solution for you?

Reply via email to