This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
committed: Ada update
- From: Arnaud Charlet <charlet at ACT-Europe dot FR>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 24 Nov 2003 18:20:26 +0100
- Subject: committed: Ada update
Tested on x86-linux using the setjmp/longjmp GNAT exception mechanism.
2003-11-24 Arnaud Charlet <charlet@act-europe.fr>
PR ada/13142
* utils.c (init_gigi_decls): Change name of built-in setjmp to
__builtin_setjmp, since this is apparently needed by recent
non Ada changes.
--
Index: utils.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ada/utils.c,v
retrieving revision 1.38
diff -u -p -r1.38 utils.c
--- utils.c 17 Nov 2003 14:58:17 -0000 1.38
+++ utils.c 24 Nov 2003 17:13:54 -0000
@@ -675,7 +675,7 @@ init_gigi_decls (tree long_long_float_ty
a jmpbuf. */
setjmp_decl
= create_subprog_decl
- (get_identifier ("setjmp"), NULL_TREE,
+ (get_identifier ("__builtin_setjmp"), NULL_TREE,
build_function_type (integer_type_node,
tree_cons (NULL_TREE, jmpbuf_ptr_type, endlink)),
NULL_TREE, 0, 1, 1, 0);