PR ada/13142
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Nov 2003 17:18:19 +0000 (17:18 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Nov 2003 17:18:19 +0000 (17:18 +0000)
* utils.c (init_gigi_decls): Change name of built-in setjmp to
__builtin_setjmp, since this is apparently needed by recent
non Ada changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73881 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ada/utils.c

index 23296d5..423634e 100644 (file)
@@ -675,7 +675,7 @@ init_gigi_decls (tree long_long_float_type, tree exception_type)
      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);