Problems with builtin setjmp receiver getting eliminated - Help
David Daney
ddaney@avtrex.com
Mon Mar 24 13:25:00 GMT 2008
Andrew Hutchinson wrote:
> I have realised that part of the problem is that the receiver block
> has no incoming edges so cfgcleanup removes it as unreachable block -
> right?
>
> So any target that need a non trivial receiver for builtin_setjmp will
> not work? That would mean any that have an offset between stack and
> pointers?
>
> I guess the same problem exists for non-local goto?
>
> I am not convinced it could be this wrong. So please comment and
> suggest solution - I'm sure I can write target handler but it seems so
> wrong to leave this as issue open.
>
MIPS uses an unspec_volatile in the nonloca_goto_receiver That keeps it
from being removed.
David Daney
More information about the Gcc
mailing list