diff options
author | Jason Merrill <jason@redhat.com> | 2004-06-11 14:41:47 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2004-06-11 14:41:47 -0400 |
commit | 67c605a553faab6244a1b1d987059798e6c1f9aa (patch) | |
tree | 53b714fbb57b9a4edc2c059014d88e351591041f /gcc/tree-ssa-operands.c | |
parent | 67fc0c0f596944a4bc88cb8d8061bf4c8753c03f (diff) | |
download | gcc-67c605a553faab6244a1b1d987059798e6c1f9aa.zip gcc-67c605a553faab6244a1b1d987059798e6c1f9aa.tar.gz gcc-67c605a553faab6244a1b1d987059798e6c1f9aa.tar.bz2 |
i386.h (EXPAND_BUILTIN_VA_ARG): Just abort.
* config/i386/i386.h (EXPAND_BUILTIN_VA_ARG): Just abort.
* config/i386/i386.c (ix86_va_arg): Remove.
* config/rs6000/rs6000.h (EXPAND_BUILTIN_VA_ARG): Just abort.
* config/rs6000/rs6000.c (rs6000_va_arg): Remove.
* config/alpha/alpha.h (EXPAND_BUILTIN_VA_ARG): Just abort.
* config/alpha/alpha.c (alpha_va_arg): Remove.
* config/sparc/sparc.h (EXPAND_BUILTIN_VA_ARG): Just abort.
* config/sparc/sparc.c (sparc_va_arg): Remove.
* tree-ssa-operands.c (get_stmt_operands): Use a V_MAY_DEF if the
assignment might throw.
* tree-eh.c (tree_could_throw_p): Support non-call exceptions in
expressions.
From-SVN: r82992
Diffstat (limited to 'gcc/tree-ssa-operands.c')
-rw-r--r-- | gcc/tree-ssa-operands.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c index eae021e..b94a799 100644 --- a/gcc/tree-ssa-operands.c +++ b/gcc/tree-ssa-operands.c @@ -821,7 +821,11 @@ get_stmt_operands (tree stmt) if (TREE_CODE (TREE_OPERAND (stmt, 0)) == ARRAY_REF || TREE_CODE (TREE_OPERAND (stmt, 0)) == COMPONENT_REF || TREE_CODE (TREE_OPERAND (stmt, 0)) == REALPART_EXPR - || TREE_CODE (TREE_OPERAND (stmt, 0)) == IMAGPART_EXPR) + || TREE_CODE (TREE_OPERAND (stmt, 0)) == IMAGPART_EXPR + /* Use a V_MAY_DEF if the RHS might throw, as the LHS won't be + modified in that case. FIXME we should represent somehow + that it is killed on the fallthrough path. */ + || tree_could_throw_p (TREE_OPERAND (stmt, 1))) get_expr_operands (stmt, &TREE_OPERAND (stmt, 0), opf_is_def, &prev_vops); else |