mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
95251c8380
commit
8bc47ae2a7
|
@ -1,3 +1,9 @@
|
||||||
|
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>
|
2016-01-13 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
||||||
|
|
||||||
PR target/69247
|
PR target/69247
|
||||||
|
|
|
@ -1093,19 +1093,21 @@ prune_uninit_phi_opnds_in_unrealizable_paths (gphi *phi,
|
||||||
edge opnd_edge;
|
edge opnd_edge;
|
||||||
unsigned uninit_opnds2
|
unsigned uninit_opnds2
|
||||||
= compute_uninit_opnds_pos (opnd_def_phi);
|
= compute_uninit_opnds_pos (opnd_def_phi);
|
||||||
pred_chain_union def_preds = vNULL;
|
if (!MASK_EMPTY (uninit_opnds2))
|
||||||
bool ok;
|
{
|
||||||
gcc_assert (!MASK_EMPTY (uninit_opnds2));
|
pred_chain_union def_preds = vNULL;
|
||||||
opnd_edge = gimple_phi_arg_edge (phi, i);
|
bool ok;
|
||||||
ok = is_use_properly_guarded (phi,
|
opnd_edge = gimple_phi_arg_edge (phi, i);
|
||||||
opnd_edge->src,
|
ok = is_use_properly_guarded (phi,
|
||||||
opnd_def_phi,
|
opnd_edge->src,
|
||||||
uninit_opnds2,
|
opnd_def_phi,
|
||||||
&def_preds,
|
uninit_opnds2,
|
||||||
visited_phis);
|
&def_preds,
|
||||||
destroy_predicate_vecs (&def_preds);
|
visited_phis);
|
||||||
if (!ok)
|
destroy_predicate_vecs (&def_preds);
|
||||||
return false;
|
if (!ok)
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue