Commit 98d30e4f by Xinliang David Li Committed by Xinliang David Li

fix pr/45972

From-SVN: r165402
parent f4684242
2010-10-12 Xinliang David Li <davidxl@google.com>
PR tree-optimization/45972
* gcc/tree-ssa-uninit.c (compute_uninit_opnds_pos): skip phis
with too many arguments.
2010-10-12 Jakub Jelinek <jakub@redhat.com>
PR fortran/45636
......@@ -149,6 +149,9 @@ compute_uninit_opnds_pos (gimple phi)
unsigned uninit_opnds = 0;
n = gimple_phi_num_args (phi);
/* Bail out for phi with too many args. */
if (n > 32)
return 0;
for (i = 0; i < n; ++i)
{
......
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