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

--- Comment #4 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:dfd857530e0bda541d4112c5c19bda0567b521ef

commit r17-3501-gdfd857530e0bda541d4112c5c19bda0567b521ef
Author: Richard Biener <[email protected]>
Date:   Fri Aug 21 09:36:27 2026 +0200

    tree-optimization/126965 - limit recursive PRE expression generation

    As I've recently figured the PRE value graph can have cycles so
    when recursively generating a complex expression that should be
    prone to run into those cycles as well.  PR126965 now has a testcase
    for that, so limit recursinve expression generation.

            PR tree-optimization/126965
            * tree-ssa-pre.cc (find_or_generate_expression): Limit
            recursion depth.

            * gcc.dg/tree-ssa/ssa-pre-37.c: New testcase.

Reply via email to