aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/utils.c
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2003-11-24 18:18:19 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2003-11-24 18:18:19 +0100
commit75baf5b2e0b2eb480dbf53f30ee8bd212e9c3b2a (patch)
tree02d2ea3fcb0fb0dff385fcc2cc8d791866220f0f /gcc/ada/utils.c
parent7ed7f009d364980db0c765a88d2cd355accf2e57 (diff)
downloadgcc-75baf5b2e0b2eb480dbf53f30ee8bd212e9c3b2a.zip
gcc-75baf5b2e0b2eb480dbf53f30ee8bd212e9c3b2a.tar.gz
gcc-75baf5b2e0b2eb480dbf53f30ee8bd212e9c3b2a.tar.bz2
re PR ada/13142 (gnat1 generating call to library 'setjmp', not using __buitin_setjmp)
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
Diffstat (limited to 'gcc/ada/utils.c')
-rw-r--r--gcc/ada/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/utils.c b/gcc/ada/utils.c
index 23296d5..423634e 100644
--- a/gcc/ada/utils.c
+++ b/gcc/ada/utils.c
@@ -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);