summaryrefslogtreecommitdiff
path: root/gcc/libfuncs.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-31 09:52:42 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-31 09:52:42 +0000
commita0ef17252aacb249f46fe16983accbf45fc6fe8d (patch)
tree08485e14eaa9f1372587d43f25c3a7c01bc9dfc4 /gcc/libfuncs.h
parent87f83b2f8fdaf6bc2bdc4b61ea0106de1baab5e9 (diff)
downloadgcc-a0ef17252aacb249f46fe16983accbf45fc6fe8d.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51643 138bc75d-0d04-0410-961f-82ee72b054a4
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])