summaryrefslogtreecommitdiff
path: root/gcc/libfuncs.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-03-31 01:52:42 -0800
committerRichard Henderson <rth@gcc.gnu.org>2002-03-31 01:52:42 -0800
commit9602f5a04b6c2a3877b8001b8ee7df74cfde4a9c (patch)
tree08485e14eaa9f1372587d43f25c3a7c01bc9dfc4 /gcc/libfuncs.h
parentb56bc85a40b31394439c3a29ddaf71f17654b83d (diff)
builtins.c (expand_builtin_va_arg): Give warnings not errors for promoted argument types; build trap.
* builtins.c (expand_builtin_va_arg): Give warnings not errors for promoted argument types; build trap. (expand_builtin_trap): New. (expand_builtin): Use it. * stmt.c (expand_nl_goto_receivers): Likewise. * expr.h (expand_builtin_trap): Declare. * libfuncs.h (LTI_abort, abort_libfunc): New. * optabs.c (init_optabs): Init abort_libfunc. * gcc.dg/va-arg-1.c: Expect warnings, not errors. From-SVN: r51643
Diffstat (limited to 'gcc/libfuncs.h')
-rw-r--r--gcc/libfuncs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/libfuncs.h b/gcc/libfuncs.h
index 59e594e801e..c3fa09e760c 100644
--- a/gcc/libfuncs.h
+++ b/gcc/libfuncs.h
@@ -36,6 +36,7 @@ enum libfunc_index
LTI_truncxfdf2,
LTI_trunctfdf2,
+ LTI_abort,
LTI_memcpy,
LTI_memmove,
LTI_bcopy,
@@ -162,6 +163,7 @@ extern rtx libfunc_table[LTI_MAX];
#define truncxfdf2_libfunc (libfunc_table[LTI_truncxfdf2])
#define trunctfdf2_libfunc (libfunc_table[LTI_trunctfdf2])
+#define abort_libfunc (libfunc_table[LTI_abort])
#define memcpy_libfunc (libfunc_table[LTI_memcpy])
#define memmove_libfunc (libfunc_table[LTI_memmove])
#define bcopy_libfunc (libfunc_table[LTI_bcopy])