diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-31 09:52:42 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-31 09:52:42 +0000 |
commit | a0ef17252aacb249f46fe16983accbf45fc6fe8d (patch) | |
tree | 08485e14eaa9f1372587d43f25c3a7c01bc9dfc4 /gcc/expr.h | |
parent | 87f83b2f8fdaf6bc2bdc4b61ea0106de1baab5e9 (diff) | |
download | gcc-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/expr.h')
-rw-r--r-- | gcc/expr.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/expr.h b/gcc/expr.h index 9ffc61fd9a8..91ffa3f0507 100644 --- a/gcc/expr.h +++ b/gcc/expr.h @@ -340,7 +340,6 @@ extern rtx get_condition PARAMS ((rtx, rtx *)); extern rtx gen_cond_trap PARAMS ((enum rtx_code, rtx, rtx, rtx)); /* Functions from builtins.c: */ -#ifdef TREE_CODE extern rtx expand_builtin PARAMS ((tree, rtx, rtx, enum machine_mode, int)); extern void std_expand_builtin_va_start PARAMS ((int, tree, rtx)); extern rtx std_expand_builtin_va_arg PARAMS ((tree, tree)); @@ -348,12 +347,11 @@ extern rtx expand_builtin_va_arg PARAMS ((tree, tree)); extern void default_init_builtins PARAMS ((void)); extern rtx default_expand_builtin PARAMS ((tree, rtx, rtx, enum machine_mode, int)); -#endif - extern void expand_builtin_setjmp_setup PARAMS ((rtx, rtx)); extern void expand_builtin_setjmp_receiver PARAMS ((rtx)); extern void expand_builtin_longjmp PARAMS ((rtx, rtx)); extern rtx expand_builtin_saveregs PARAMS ((void)); +extern void expand_builtin_trap PARAMS ((void)); extern HOST_WIDE_INT get_varargs_alias_set PARAMS ((void)); extern HOST_WIDE_INT get_frame_alias_set PARAMS ((void)); extern void record_base_value PARAMS ((unsigned int, rtx, int)); |