https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123769
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >As you'll notice in TestMain2(), rsp is decremented by 0x20 to protect this >area. So you don't support redzone in your interrupt code even though it is part of the ABI. As mentioned you either need to use -mno-red-zone for your non-interrupt code or you need to add support to your interrupts red zone support.
