This is the mail archive of the gcc@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: What do do with the exceptional case of expand_case for SJLJ exceptions


> For rl78 there is a comment in gcc/config/rl78/rl78.h that suggests
> there should be a tablejump insn, but it's not there.

The only unconditional branches rl78 has are immediate and
register-indirect, i.e. "BR $label" and "BR AX".

> This is unfortunate because rl78 is a "#define DWARF2_UNWIND_INFO 0"
> target, i.e. it defaults to (and only supports??) SJLJ-based
> exceptions.

Return address on stack is not the same size as a pointer, so there's
no way to describe the unwind operation in dwarfish.


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