https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122515
--- Comment #17 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Siddhesh Poyarekar <[email protected]>: https://gcc.gnu.org/g:57f1f6bc2fdf42cc6dceaa6b104dd4c9bb84e622 commit r14-12188-g57f1f6bc2fdf42cc6dceaa6b104dd4c9bb84e622 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)
