Commit 8bc47ae2 by Richard Biener Committed by Richard Biener

re PR tree-optimization/69013 (gfortran-5.3.0 ICE in…

re PR tree-optimization/69013 (gfortran-5.3.0 ICE in prune_uninit_phi_opnds_in_unrealizable_paths, at tree-ssa-uninit.c:1121)

2016-01-13  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/69013
	* tree-ssa-uninit.c (prune_uninit_phi_opnds_in_unrealizable_paths):
	Exchange assert for a test.

From-SVN: r232320
parent 95251c83
2016-01-13 Richard Biener <rguenther@suse.de>
PR tree-optimization/69013
* tree-ssa-uninit.c (prune_uninit_phi_opnds_in_unrealizable_paths):
Exchange assert for a test.
2016-01-13 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
PR target/69247
......
......@@ -1093,9 +1093,10 @@ prune_uninit_phi_opnds_in_unrealizable_paths (gphi *phi,
edge opnd_edge;
unsigned uninit_opnds2
= compute_uninit_opnds_pos (opnd_def_phi);
if (!MASK_EMPTY (uninit_opnds2))
{
pred_chain_union def_preds = vNULL;
bool ok;
gcc_assert (!MASK_EMPTY (uninit_opnds2));
opnd_edge = gimple_phi_arg_edge (phi, i);
ok = is_use_properly_guarded (phi,
opnd_edge->src,
......@@ -1107,6 +1108,7 @@ prune_uninit_phi_opnds_in_unrealizable_paths (gphi *phi,
if (!ok)
return false;
}
}
else
return false;
}
......
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