https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122515
Romain Geissler <romain.geissler at amadeus dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |romain.geissler at amadeus dot
com
--- Comment #8 from Romain Geissler <romain.geissler at amadeus dot com> ---
Hi,
For me this change (on branch 15) causes a bootstrap build failure:
/workdir/BUILD_OS_PACK/src/gcc-15.2.1/gcc/lto/lto-common.cc: In function 'char*
lto_read_section_data(lto_file_decl_data*, off_t, size_t)':
/workdir/BUILD_OS_PACK/src/gcc-15.2.1/gcc/lto/lto-common.cc:2441:23: error:
'SSIZE_MAX' was not declared in this scope; did you mean 'SIZE_MAX'?
2441 | if (len > (size_t) (SSIZE_MAX - diff))
| ^~~~~~~~~
| SIZE_MAX
It seems the gcc code base in general is not using SSIZE_MAX at all. So not
sure how it shall be fixed (including limits.h is apparently not always ok in
the gcc codebase).
Cheers,
Romain