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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <[email protected]>:

https://gcc.gnu.org/g:7dd39924c9a696a627522e897ed8c7bd454872bd

commit r16-5911-g7dd39924c9a696a627522e897ed8c7bd454872bd
Author: Richard Biener <[email protected]>
Date:   Thu Jul 10 15:19:30 2025 +0200

    tree-optimization/120939 - remove uninitialized use of
LOOP_VINFO_COST_MODEL_THRESHOLD

    The following removes an optimization that wrongly triggers right now
    because it accesses LOOP_VINFO_COST_MODEL_THRESHOLD which might not be
    computed yet and uses guessed likely max stmt executions.

    It also refactors the code to make the default conservative.

            PR tree-optimization/120939
            * tree-vect-loop.cc (vect_need_peeling_or_partial_vectors_p):
            Remove eliding an epilogue based on not computed
            LOOP_VINFO_COST_MODEL_THRESHOLD and estimated max stmt executions.

            * gcc.dg/torture/pr113026-1.c: Skip when -ftracer.

Reply via email to