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

--- Comment #3 from Zdenek Sojka <zsojka at seznam dot cz> ---
https://gcc.gnu.org/PR120144#c22

cffb045e13370693e80b7ca53e7f52b3a20b7f3e is the first 'bad' commit
commit cffb045e13370693e80b7ca53e7f52b3a20b7f3e
Author: Carter Rennick <[email protected]>
Date:   Fri Apr 3 13:07:38 2026 +0000

    mips: Fix ICE on mips64-elf by removing MAX_FIXED_MODE_SIZE override
[PR120144]

    The definition of MAX_FIXED_MODE_SIZE did not account for MIPS supporting
    TImode, which causes an internal compiler error when building libstdc++.
Upon further
    investigation, this definition appears to be a historical mistake.

    This patch removes the MAX_FIXED_MODE_SIZE override, which fixes the error.

            PR target/120144

    gcc/ChangeLog:

            * config/mips/mips.h (MAX_FIXED_MODE_SIZE): Remove.

    gcc/testsuite/ChangeLog:

            * gcc.dg/torture/pr120144.c: New test.

    Signed-off-by: Carter Rennick  <[email protected]>
    (cherry picked from commit 224b7b1949234cc528947f73d3f9829d2df843ac)

Reply via email to