aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-07-16 16:25:51 -0700
committerRichard Henderson <rth@gcc.gnu.org>2004-07-16 16:25:51 -0700
commit77c9db7751b8239833f152701b7cde02569859e0 (patch)
tree736540023a0461568858dfe8fec7b2c58a7dd59d /gcc/expr.c
parent3f7d210dfb6639949b9b2f0f6dc04cb4124d85b6 (diff)
downloadgcc-77c9db7751b8239833f152701b7cde02569859e0.zip
gcc-77c9db7751b8239833f152701b7cde02569859e0.tar.gz
gcc-77c9db7751b8239833f152701b7cde02569859e0.tar.bz2
builtins.c (std_expand_builtin_va_arg): Remove.
* builtins.c (std_expand_builtin_va_arg): Remove. (expand_builtin_va_arg): Remove. * expr.h: Don't declare them. * gimplify.c (mark_decls_volatile_r): Remove. (copy_if_shared_r): Don't call it. * target-def.h: Don't test EXPAND_BUILTIN_VA_ARG. * expr.c (expand_expr_real_1): Don't handle VA_ARG_EXPR. * gimple-low.c (lower_stmt): Likewise. * tree-cfg.c (cfg_remove_useless_stmts_bb): Likewise. * tree-gimple.c (is_gimple_tmp_rhs, is_gimple_stmt): Likewise. * tree-ssa-operands.c (get_expr_operands): Likewise. * doc/tm.texi (TARGET_GIMPLIFY_VA_ARG_EXPR): Don't mention EXPAND_BUILTIN_VA_ARG. * system.h (EXPAND_BUILTIN_VA_ARG): Poison. * config/alpha/alpha.h, config/alpha/unicosmk.h, config/i386/i386.h, config/ia64/ia64.h, config/rs6000/rs6000.h, config/s390/s390.h, config/sparc/sparc.h (EXPAND_BUILTIN_VA_ARG): Remove. From-SVN: r84842
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index dd1aad9..417f69c 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -8541,12 +8541,10 @@ expand_expr_real_1 (tree exp, rtx target, enum machine_mode tmode,
case WITH_CLEANUP_EXPR:
case CLEANUP_POINT_EXPR:
case TARGET_EXPR:
+ case VA_ARG_EXPR:
/* Lowered by gimplify.c. */
abort ();
- case VA_ARG_EXPR:
- return expand_builtin_va_arg (TREE_OPERAND (exp, 0), type);
-
case EXC_PTR_EXPR:
return get_exception_pointer (cfun);