[Bug tree-optimization/56490] [4.7/4.8 Regression] -Wall triggering infinite loop

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 6 08:12:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56490

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Mar  6 08:12:02 2014
New Revision: 208372

URL: http://gcc.gnu.org/viewcvs?rev=208372&root=gcc&view=rev
Log:
    * Makefile.in (tree-ssa-uninit.o): Depend on $(PARAMS_H).

    Backport from mainline
    2014-02-21  Jakub Jelinek  <jakub@redhat.com>

    PR tree-optimization/56490
    * params.def (PARAM_UNINIT_CONTROL_DEP_ATTEMPTS): New param.
    * tree-ssa-uninit.c: Include params.h.
    (compute_control_dep_chain): Add num_calls argument, return false
    if it exceed PARAM_UNINIT_CONTROL_DEP_ATTEMPTS param, pass
    num_calls to recursive call.
    (find_predicates): Change dep_chain into normal array, add num_calls
    variable and adjust compute_control_dep_chain caller.
    (find_def_preds): Likewise.

Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/Makefile.in
    branches/gcc-4_8-branch/gcc/params.def
    branches/gcc-4_8-branch/gcc/tree-ssa-uninit.c



More information about the Gcc-bugs mailing list