aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index 64555fd..fe00519 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -1171,8 +1171,6 @@ static void
execute_function_todo (void *data)
{
unsigned int flags = (size_t)data;
- if (cfun->curr_properties & PROP_ssa)
- flags |= TODO_verify_ssa;
flags &= ~cfun->last_verified;
if (!flags)
return;
@@ -1495,20 +1493,11 @@ execute_one_ipa_transform_pass (struct cgraph_node *node,
void
execute_all_ipa_transforms (void)
{
- enum cgraph_state old_state = cgraph_state;
struct cgraph_node *node;
if (!cfun)
return;
node = cgraph_node (current_function_decl);
- /* Statement verification skip verification of nothorw when
- state is IPA_SSA because we do not modify function bodies
- after setting the flag on function. Instead we leave it
- to fixup_cfg to do such a transformation. We need to temporarily
- change the cgraph state so statement verifier before
- transform do not fire. */
- cgraph_state = CGRAPH_STATE_IPA_SSA;
-
if (node->ipa_transforms_to_apply)
{
unsigned int i;
@@ -1522,7 +1511,6 @@ execute_all_ipa_transforms (void)
VEC_free (ipa_opt_pass, heap, node->ipa_transforms_to_apply);
node->ipa_transforms_to_apply = NULL;
}
- cgraph_state = old_state;
}
/* Execute PASS. */