https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122220
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Georg-Johann Lay <[email protected]>: https://gcc.gnu.org/g:912022628b14008def4a1a6bd723293cb710bea8 commit r15-10403-g912022628b14008def4a1a6bd723293cb710bea8 Author: Georg-Johann Lay <[email protected]> Date: Thu Oct 9 15:27:16 2025 +0200 AVR: target/122220 - Let (int32_t) -0x1p31L return INT32_MIN. PR target/122220 libgcc/config/avr/libf7/ * libf7-asm.sx (to_integer): Return 0x80... on negative overflow. gcc/testsuite/ * gcc.target/avr/pr122220.c: New test. (cherry picked from commit 3ea09e4d43278aa8d7b088a5f5438d921c48c411)
