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: Problems with builtin setjmp receiver getting eliminated - Help


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


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