This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __builtin_longjmp & early gcc versions
- To: Fergus Henderson <fjh at cs dot mu dot oz dot au>
- Subject: Re: __builtin_longjmp & early gcc versions
- From: Richard Henderson <rth at redhat dot com>
- Date: Fri, 2 Mar 2001 02:33:23 -0800
- Cc: gcc at gcc dot gnu dot org
- References: <20010302170314.A12816@earth.cs.mu.oz.au>
On Fri, Mar 02, 2001 at 05:03:15PM +1100, Fergus Henderson wrote:
> But I got a report from a user who said he was using gcc 2.7.2.3 on Debian,
> saying that with his version of gcc __builtin_setjmp and __builtin_longjmp
> were not defined.
After some research, it appears that this appeared between 2.7 and 2.8:
Sat Jan 27 07:59:25 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
* tree.h (enum built_in_function): Add BUILT_IN_{SET,LONG}JMP.
* expr.c: Include hard-reg-set.h.
(arg_pointer_save_area): New declaration.
(expand_builtin, case BUILT_IN_{SET,LONG}JMP): New cases.
* Makefile.in (expr.o): Includes hard-reg-set.h.
* c-decl.c (init_decl_processing): Add definitions for
__builtin_setjmp and __builtin_longjmp.
r~