[PATCH] tree-object-size: Drop unused pdecl and poff arguments

Jakub Jelinek jakub@redhat.com
Thu Oct 7 14:25:31 GMT 2021


On Thu, Oct 07, 2021 at 07:45:04PM +0530, Siddhesh Poyarekar wrote:
> The pdecl and poff arguments were added to allow their use in
> compute_objsize in builtins.c.  That use has been gone for a while now
> since compute_objsize does its own size estimation, so drop these

Since r11-1517-g5acc654e380797bbf402bc3a0a67f9a6ac4c2a83 indeed.

> arguments to simplify code.
> 
> gcc/ChangeLog:
> 
> 	* tree-object-size.c (addr_object_size,
> 	compute_builtin_object_size): Drop PDECL and POFF arguments.
> 	(addr_object_size): Adjust calls.
> 	* tree-object-size.h (compute_builtin_object_size): Drop PDECL
> 	and POFF arguments.

Ok, thanks.

> 
> Signed-off-by: Siddhesh Poyarekar <siddhesh@gotplt.org>

	Jakub



More information about the Gcc-patches mailing list