re PR middle-end/61409 (-Wmaybe-uninitialized false-positive with -O2)
authorAldy Hernandez <aldyh@redhat.com>
Sun, 20 Nov 2016 18:34:06 +0000 (18:34 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Sun, 20 Nov 2016 18:34:06 +0000 (18:34 +0000)
commit358a95e46245bbdbaefe19369b8d95496cf3eb5a
tree81b063e9484a3b0f61f3ef95753338d2515ab4d5
parent40fd269ab128d1f5fa7688d7d5e7298744c08cdd
re PR middle-end/61409 (-Wmaybe-uninitialized false-positive with -O2)

PR middle-end/61409
* tree-ssa-uninit.c: Define new global max_phi_args.
(compute_uninit_opnds_pos): Use max_phi_args.
(prune_uninit_phi_opnds): Same.
(use_pred_not_overlap_with_undef_path_pred): Remove reference to
missing NUM_PREDS in function comment.
(can_one_predicate_be_invalidated_p): New.
(can_chain_union_be_invalidated_p): New.
(flatten_out_predicate_chains): New.
(uninit_ops_invalidate_phi_use): New.
(is_use_properly_guarded): Call uninit_ops_invalidate_phi_use.

From-SVN: r242639
gcc/ChangeLog
gcc/testsuite/gcc.dg/uninit-pr61409.c [new file with mode: 0644]
gcc/tree-ssa-uninit.c