tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Don't let an explicit GOTO_EXPR slip through.
* tree-ssa-dce.c (mark_stmt_if_obviously_necessary) <GOTO_EXPR>: Don't let an explicit GOTO_EXPR slip through. From-SVN: r89698
This commit is contained in:
parent
36b8a0315c
commit
7f604986cc
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-10-27 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* tree-ssa-dce.c (mark_stmt_if_obviously_necessary)
|
||||
<GOTO_EXPR>: Don't let an explicit GOTO_EXPR slip through.
|
||||
|
||||
2004-10-27 Daniel Berlin <dberlin@dberlin.org>
|
||||
|
||||
Fix PR tree-optimization/17133
|
||||
|
|
|
@ -325,8 +325,8 @@ mark_stmt_if_obviously_necessary (tree stmt, bool aggressive)
|
|||
break;
|
||||
|
||||
case GOTO_EXPR:
|
||||
if (! simple_goto_p (stmt))
|
||||
mark_stmt_necessary (stmt, true);
|
||||
gcc_assert (!simple_goto_p (stmt));
|
||||
mark_stmt_necessary (stmt, true);
|
||||
return;
|
||||
|
||||
case COND_EXPR:
|
||||
|
|
Loading…
Add table
Reference in a new issue