re PR ada/13142 (gnat1 generating call to library 'setjmp', not using __buitin_setjmp)
authorArnaud Charlet <charlet@gcc.gnu.org>
Mon, 24 Nov 2003 17:18:19 +0000 (18:18 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 24 Nov 2003 17:18:19 +0000 (18:18 +0100)
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.

From-SVN: r73881

gcc/ada/utils.c

index 23296d59eb262c925f1ac5bc74d4170b9b4545cb..423634ea64d05c92d2fcd1ff283d1019ddba47da 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);