https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70017
--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > It looks like no more than activating Stack_Check_Probes is required. Thanks! You're welcome. This might be sufficient for c52103x/c52104x/c52104y but might not be for cb1010a/cb1010c/cb1010d because the generic stack probing implemented in the compiler isn't bullet proof. A more robust implementation requires specific support in the back-end (probing in the prologue), see the "Stack Checking" subsection of the "Stack Layout and Calling Conventions" subsection of the "Target Description Macros and Functions" section of the internal manual: the default is method 3, method 2 is sufficient, method 1 is very specific. On the other hand this might require significant work in the back-end so...