This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Only define JMP_BUF_SIZE in backends that also define DONT_USE_BUILTIN_SETJMP


> The rl78 apparently doesn't know what it wants to do:
> 
> /* NOTE: defined but zero means dwarf2 debugging, but sjlj EH.  */
> #define DWARF2_UNWIND_INFO 0
> /*#define DONT_USE_BUILTIN_SETJMP 1*/
> #undef DONT_USE_BUILTIN_SETJMP
> #define JMP_BUF_SIZE (8*3+8)
> 
> But I'll leave that to an rl78 maintainer.

RL78 has a return address size different than pointer size, so the
default GCC code won't work for EH.  For similar reasons, GCC's
internal setjmp won't work either.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]