https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115485
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >GNU Arm Embedded Toolchain 10.3-2021.10 I looked into the official releases of GCC 10.3.0 and arm.c:7855 does not correspond to a place where an assert happens. You should file this bug with the folks who recieved the binary release from since they have modified the sources. Also GCC 10.x is no longer supported so can you try a newer version of GCC? Like GCC 14.1.0 or 13.3.0?