diff options
author | Richard Henderson <rth@redhat.com> | 2004-07-16 16:25:51 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2004-07-16 16:25:51 -0700 |
commit | 77c9db7751b8239833f152701b7cde02569859e0 (patch) | |
tree | 736540023a0461568858dfe8fec7b2c58a7dd59d /gcc/tree-ssa-operands.c | |
parent | 3f7d210dfb6639949b9b2f0f6dc04cb4124d85b6 (diff) | |
download | gcc-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/tree-ssa-operands.c')
-rw-r--r-- | gcc/tree-ssa-operands.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c index 9b29741..c1c967a 100644 --- a/gcc/tree-ssa-operands.c +++ b/gcc/tree-ssa-operands.c @@ -808,8 +808,8 @@ get_stmt_operands (tree stmt) default: /* Notice that if get_expr_operands tries to use &STMT as the operand pointer (which may only happen for USE operands), we will abort in - append_use. This default will handle statements like empty statements, - CALL_EXPRs or VA_ARG_EXPRs that may appear on the RHS of a statement + append_use. This default will handle statements like empty + statements, or CALL_EXPRs that may appear on the RHS of a statement or as statements themselves. */ get_expr_operands (stmt, &stmt, opf_none, &prev_vops); break; @@ -964,13 +964,6 @@ get_expr_operands (tree stmt, tree *expr_p, int flags, voperands_t prev_vops) return; } - case VA_ARG_EXPR: - /* Mark VA_ARG_EXPR nodes as making volatile references. FIXME, - this is needed because we currently do not gimplify VA_ARG_EXPR - properly. */ - stmt_ann (stmt)->has_volatile_ops = true; - return; - case CONSTRUCTOR: { /* General aggregate CONSTRUCTORs have been decomposed, but they |