Hi Eric,
2014-05-06 Nick Clifton <[email protected]>* except.c (init_eh): Fix computation of builtin setjmp buffer size.That's the same patch as https://gcc.gnu.org/ml/gcc-patches/2011-11/msg00272.html and is still incorrect.
Ah - you are worried about the case where STACK_SAVEAREA_MODE() is smaller than Pmode, yes ?
OK then, how about this revised version of the patch where the size computation is now:
tmp = size_int (MAX (GET_MODE_SIZE (STACK_SAVEAREA_MODE (SAVE_NONLOCAL))
/ GET_MODE_SIZE (Pmode), 1)
+ 2 /* Stack pointer and frame pointer. */
+ 1 /* Slop for mips. */
- 1);
OK to apply ?
Cheers
Nick
except.c.patch.4
Description: Unix manual page
