STACK_SIZE_MODE should be defined together with "allocate_stack" named pattern.
2019-05-27 Uroš Bizjak <ubiz...@gmail.com> * config/i386/i386.h (STACK_SIZE_MODE): Define. Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}. Committed to mainline SVN. Uros.
Index: config/i386/i386.h =================================================================== --- config/i386/i386.h (revision 271662) +++ config/i386/i386.h (revision 271663) @@ -1947,6 +1947,10 @@ #define STACK_SAVEAREA_MODE(LEVEL) \ ((LEVEL) == SAVE_NONLOCAL ? (TARGET_64BIT ? TImode : DImode) : Pmode) +/* Specify the machine_mode of the size increment + operand of an 'allocate_stack' named pattern. */ +#define STACK_SIZE_MODE Pmode + /* A C expression whose value is zero if pointers that need to be extended from being `POINTER_SIZE' bits wide to `Pmode' are sign-extended and greater then zero if they are zero-extended and less then zero if the