https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64614

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Jan 16 13:26:10 2015
New Revision: 219739

URL: https://gcc.gnu.org/viewcvs?rev=219739&root=gcc&view=rev
Log:
2015-01-16  Richard Biener  <rguent...@suse.de>

    PR middle-end/64614
    * tree-ssa-uninit.c: Include tree-cfg.h.
    (MAX_SWITCH_CASES): New define.
    (convert_control_dep_chain_into_preds): Handle switch statements.
    (is_pred_expr_subset_of): Handle x == CST vs. (x & CST) != 0.
    (normalize_one_pred_1): Do not split bit-manipulations.
    Record (x & CST).

    * gcc.dg/uninit-18.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/uninit-18.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-uninit.c

Reply via email to