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

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

https://gcc.gnu.org/g:b0e3253dc990beb637b70d2e0c43e8ec586d169f

commit r15-10570-gb0e3253dc990beb637b70d2e0c43e8ec586d169f
Author: Siddhesh Poyarekar <[email protected]>
Date:   Mon Nov 24 20:32:08 2025 -0500

    lto/122515: Avoid using SSIZE_MAX

    SSIZE_MAX may not always be available, so build it using (size_t) -1
    instead.

    gcc/lto/ChangeLog:

            PR lto/122515
            * lto-common.cc (lto_read_section_data): Avoid using SSIZE_MAX.

    Signed-off-by: Siddhesh Poyarekar <[email protected]>
    (cherry picked from commit fb9b614c675f66a7979a5f37ef60f32fab73abdd)

Reply via email to