[Bug tree-optimization/119532] [avr] ICE: in build_minus_one_cst with _Accum/_Fract types , at tree.cc:2698

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 20 13:37:27 GMT 2026


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

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

https://gcc.gnu.org/g:7025890ad1c897372751cf3e36bed21bbe8f1b93

commit r13-10155-g7025890ad1c897372751cf3e36bed21bbe8f1b93
Author: Richard Biener <rguenther@suse.de>
Date:   Mon Mar 31 10:02:27 2025 +0200

    tree-optimization/119532 - ICE with fixed-point tail recursion

    The following disables tail recursion optimization when fixed-point
    types are involved as we cannot generate -1 for all fixed-point
    types.

            PR tree-optimization/119532
            * tree-tailcall.cc (process_assignment): FAIL for fixed-point
            typed functions.

            * gcc.dg/torture/pr119532.c: New testcase.

    (cherry picked from commit 95c25cb09f58810bc520c3db469945c6a751aa32)


More information about the Gcc-bugs mailing list