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

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Richard Biener
<rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:06ee3438a4fcf98031fccda8ea8ff592a41cf218

commit r13-8039-g06ee3438a4fcf98031fccda8ea8ff592a41cf218
Author: Richard Biener <rguent...@suse.de>
Date:   Wed Sep 20 08:40:34 2023 +0200

    tree-optimization/111489 - turn uninit limits to params

    The following turns MAX_NUM_CHAINS and MAX_CHAIN_LEN to params which
    allows to experiment with raising them.  For the testcase in PR111489
    raising MAX_CHAIN_LEN from 5 to 8 avoids the bogus diagnostics
    at -O2, at -O3 we need a MAX_CHAIN_LEN of 6.

            PR tree-optimization/111489
            * doc/invoke.texi (--param uninit-max-chain-len): Document.
            (--param uninit-max-num-chains): Likewise.
            * params.opt (-param=uninit-max-chain-len=): New.
            (-param=uninit-max-num-chains=): Likewise.
            * gimple-predicate-analysis.cc (MAX_NUM_CHAINS): Define to
            param_uninit_max_num_chains.
            (MAX_CHAIN_LEN): Define to param_uninit_max_chain_len.
            (uninit_analysis::init_use_preds): Avoid VLA.
            (uninit_analysis::init_from_phi_def): Likewise.
            (compute_control_dep_chain): Avoid using MAX_CHAIN_LEN in
            template parameter.

    (cherry picked from commit b8a2a12464d25c45a51c14a025e8e2d3ca8ebeb0)
  • [Bug tree-optimization/111489] ... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to