https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121148
--- Comment #11 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > If the CC'd target maintainers could confirm my understanding of their area > above, I would be very grateful. I don't think I need any of you to change > the code, just let me know if the assembly is free of undefined behaviour on > integer overflow. Yes, additive arithmetic instructions on SPARC use modular arithmetic.