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

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

https://gcc.gnu.org/g:36dd19f4bea248e28a13de19ca484fbff4c48f56

commit r15-10539-g36dd19f4bea248e28a13de19ca484fbff4c48f56
Author: Richard Biener <[email protected]>
Date:   Fri Oct 10 08:20:22 2025 +0200

    tree-optimization/122225 - fix return stmt verification

    The following fixes return stmt type verification by properly looking
    at DECL_RESULT to decide whether that's by reference, not trying to
    figure that from the actual argument.

            PR tree-optimization/122225
            * tree-cfg.cc (verify_gimple_return): Look at DECL_RESULT
            for DECL_BY_REFERENCE.

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

Reply via email to