diff options
Diffstat (limited to 'gcc/tree-ssa-uninit.c')
-rw-r--r-- | gcc/tree-ssa-uninit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-ssa-uninit.c b/gcc/tree-ssa-uninit.c index 4398db7..78b88e9 100644 --- a/gcc/tree-ssa-uninit.c +++ b/gcc/tree-ssa-uninit.c @@ -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) { |