This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problems with builtin setjmp receiver getting eliminated - Help
- From: David Daney <ddaney at avtrex dot com>
- To: Andrew Hutchinson <andrewhutchinson at cox dot net>
- Cc: GCC Development <gcc at gcc dot gnu dot org>, "Weddington, Eric" <eweddington at cso dot atmel dot com>, Paulo Marques <pmarques at grupopie dot com>
- Date: Sun, 23 Mar 2008 16:11:39 -0700
- Subject: Re: Problems with builtin setjmp receiver getting eliminated - Help
- References: <47E6B181.7080508@cox.net> <47E6C49D.8080008@cox.net>
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