toplev.h (flag_delete_null_pointer_checks): Move from here to...
authorJeff Law <law@redhat.com>
Tue, 18 May 2004 02:53:55 +0000 (20:53 -0600)
committerJeff Law <law@gcc.gnu.org>
Tue, 18 May 2004 02:53:55 +0000 (20:53 -0600)
commitdd7473111a63cdeb442d1b74535405739bf7e866
tree8b09f05de2af4fbf629836a3810db742dd217646
parentb4117c306105c7e3279bbbabab1dd361a3b35b62
toplev.h (flag_delete_null_pointer_checks): Move from here to...

        * toplev.h (flag_delete_null_pointer_checks): Move from here to...
        * flags.h (flag_delete_null_pointer_checks): Here.
        * tree-flow.h (cprop_into_successor_phis): Add argument to prototype.
        * tree-phinodes.c (resize_phi_node): Initialize PHI_ARG_NONZERO.
        (add_phi_arg, remove_phi_arg_num): Similarly.
        * tree-ssa-copy.c (cprop_into_successor_phis): Propagate nonzero
        property into PHI nodes.
        * tree-ssa-dom.c: Remove redundant inclusion of flags.h.
        (record_equivalences_from_phis): If all PHI arguments are known to be
        nonzero, then the result must be nonzero as well.
        (cprop_into_phis): Pass nonzero_vars bitmap to cprop_into_successor_phis        (record_equivalences_from_stmt): Check flag_delete_null_pointer_checks
        appropriately.  Walk the USE-DEF chains and propagate nonzero property
        as appropriate.
        * tree.h (PHI_ARG_NONZERO): Define.
        (phi_arg_d): Add nonzero flag.

From-SVN: r81968
gcc/ChangeLog
gcc/flags.h
gcc/toplev.h
gcc/tree-flow.h
gcc/tree-phinodes.c
gcc/tree-ssa-dom.c
gcc/tree.h