From a0ef17252aacb249f46fe16983accbf45fc6fe8d Mon Sep 17 00:00:00 2001 From: rth Date: Sun, 31 Mar 2002 09:52:42 +0000 Subject: * 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 --- gcc/libfuncs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/libfuncs.h') 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]) -- cgit v1.2.1