diff options
author | Siddhesh Poyarekar <siddhesh@gotplt.org> | 2021-12-18 16:46:43 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@gotplt.org> | 2021-12-18 16:46:44 +0530 |
commit | cc032ec1ecb34b006f42e170ccb9d76aa42fd8eb (patch) | |
tree | 5c16486cec75a1a5d41f84ceb699eb1d4510c4ec /gcc/fortran/check.c | |
parent | 21423a1dfa079d4cd218f69d2fab9fe65a69fedb (diff) | |
download | gcc-cc032ec1ecb34b006f42e170ccb9d76aa42fd8eb.zip gcc-cc032ec1ecb34b006f42e170ccb9d76aa42fd8eb.tar.gz gcc-cc032ec1ecb34b006f42e170ccb9d76aa42fd8eb.tar.bz2 |
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 <siddhesh@gotplt.org>
Diffstat (limited to 'gcc/fortran/check.c')
0 files changed, 0 insertions, 0 deletions