fix pr/45972

From-SVN: r165402
This commit is contained in:
Xinliang David Li 2010-10-12 22:32:00 +00:00 committed by Xinliang David Li
parent f468424220
commit 98d30e4fb5
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
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

View File

@ -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)
{