summaryrefslogtreecommitdiff
path: root/gcc/optabs.c
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/optabs.c
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/optabs.c')
-rw-r--r--gcc/optabs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c
index 86c20b08d81..4d1ebda77f6 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -5076,6 +5076,7 @@ init_optabs ()
truncxfdf2_libfunc = init_one_libfunc ("__truncxfdf2");
trunctfdf2_libfunc = init_one_libfunc ("__trunctfdf2");
+ abort_libfunc = init_one_libfunc ("abort");
memcpy_libfunc = init_one_libfunc ("memcpy");
memmove_libfunc = init_one_libfunc ("memmove");
bcopy_libfunc = init_one_libfunc ("bcopy");