Commit 8e14584d by Andrew Pinski Committed by Andrew Pinski

re PR tree-optimization/17529 (ICE in get_indirect_ref_operands)

2004-10-27  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/17529
        * tree-cfg.c (remove_useless_stmts_1) <case SWITCH_EXPR>:
        Don't fold statement.
        <case ASM_EXPR>: Fold the statement.

2004-10-27  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/17529
        * gcc.c-torture/compile/pr17529.c: Remove the xfail.

From-SVN: r89730
parent 269da1e9
2004-10-27 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/17529
* tree-cfg.c (remove_useless_stmts_1) <case SWITCH_EXPR>:
Don't fold statement.
<case ASM_EXPR>: Fold the statement.
2004-10-28 Kazu Hirata <kazu@cs.umass.edu>
* tree-ssa-dce.c (mark_stmt_if_obviously_necessary)
......
2004-10-27 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/17529
* gcc.c-torture/compile/pr17529.c: Remove the xfail.
2004-10-27 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/weak/typeof-2.c: Needs aliases as well as weak.
......
/* { dg-xfail-if "PR middle-end/17529" { "*-*-*" } { "*" } { "" } } */
static inline void
bar (const int * const x)
......
......@@ -1600,7 +1600,7 @@ remove_useless_stmts_1 (tree *tp, struct rus_data *data)
}
}
break;
case SWITCH_EXPR:
case ASM_EXPR:
fold_stmt (tp);
data->last_goto = NULL;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment