Skip to content
Snippets Groups Projects
Commit cc032ec1 authored by Siddhesh Poyarekar's avatar Siddhesh Poyarekar
Browse files

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: default avatarSiddhesh Poyarekar <siddhesh@gotplt.org>
parent 21423a1d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment