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

--- Comment #1 from Gabriel Marcano <gabemarcano at yahoo dot com> ---
I've also run into this bug, and I've done some debugging. The problem, as the
log states, appears to be a constraint failure. Specifically, it looks like GCC
is trying to use R13 and R14 for the addsi3 insn, but it fails the earlyclobber
constraint checks specifically because R13 and R14 are next to each other, and
in SImode the MSP430 configuration states that a SI value takes 2 registers.

I have no GCC development experience, but to me this looks like some constraint
needs to be put on the registers selected so that in SImode they can't be right
next to each other in the case of earlyclobber. How to do that... I'm not quite
sure yet.

Reply via email to