https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103759
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Siddhesh Poyarekar <siddh...@gcc.gnu.org>: https://gcc.gnu.org/g:cc032ec1ecb34b006f42e170ccb9d76aa42fd8eb commit r12-6056-gcc032ec1ecb34b006f42e170ccb9d76aa42fd8eb Author: Siddhesh Poyarekar <siddh...@gotplt.org> Date: Sat Dec 18 16:46:43 2021 +0530 tree-optimization/103759: Use sizetype everywhere for object sizes Since all computations in tree-object-size are now done in sizetype and not HOST_WIDE_INT, comparisons with HOST_WIDE_INT based unknown and initval would be incorrect. Instead, use the sizetype trees directly to generate and evaluate initval and unknown size values. gcc/ChangeLog: PR tree-optimization/103759 * tree-object-size.c (unknown, initval): Remove functions. (size_unknown, size_initval, size_unknown_p): Operate directly on trees. Signed-off-by: Siddhesh Poyarekar <siddh...@gotplt.org>