Re: [PATCH] handle function pointers in __builtin_object_size (PR 88372)

2018-12-13 Thread Jeff Law
On 12/6/18 4:01 PM, Martin Sebor wrote: > On 12/6/18 2:26 PM, Jakub Jelinek wrote: >> On Thu, Dec 06, 2018 at 01:21:58PM -0700, Martin Sebor wrote: >>> Bug 88372 - alloc_size attribute is ignored on function pointers >>> points out that even though the alloc_size attribute is accepted >>> on functi

Re: [PATCH] handle function pointers in __builtin_object_size (PR 88372)

2018-12-09 Thread Richard Biener
On December 8, 2018 6:42:48 PM GMT+01:00, Martin Sebor wrote: >On 12/7/18 1:06 AM, Richard Biener wrote: >> On Thu, 6 Dec 2018, Martin Sebor wrote: >> >>> On 12/6/18 2:26 PM, Jakub Jelinek wrote: On Thu, Dec 06, 2018 at 01:21:58PM -0700, Martin Sebor wrote: > Bug 88372 - alloc_size attri

Re: [PATCH] handle function pointers in __builtin_object_size (PR 88372)

2018-12-08 Thread Martin Sebor
On 12/7/18 1:06 AM, Richard Biener wrote: On Thu, 6 Dec 2018, Martin Sebor wrote: On 12/6/18 2:26 PM, Jakub Jelinek wrote: On Thu, Dec 06, 2018 at 01:21:58PM -0700, Martin Sebor wrote: Bug 88372 - alloc_size attribute is ignored on function pointers points out that even though the alloc_size

Re: [PATCH] handle function pointers in __builtin_object_size (PR 88372)

2018-12-07 Thread Richard Biener
On Thu, 6 Dec 2018, Martin Sebor wrote: > On 12/6/18 2:26 PM, Jakub Jelinek wrote: > > On Thu, Dec 06, 2018 at 01:21:58PM -0700, Martin Sebor wrote: > > > Bug 88372 - alloc_size attribute is ignored on function pointers > > > points out that even though the alloc_size attribute is accepted > > > o

Re: [PATCH] handle function pointers in __builtin_object_size (PR 88372)

2018-12-06 Thread Martin Sebor
On 12/6/18 2:26 PM, Jakub Jelinek wrote: On Thu, Dec 06, 2018 at 01:21:58PM -0700, Martin Sebor wrote: Bug 88372 - alloc_size attribute is ignored on function pointers points out that even though the alloc_size attribute is accepted on function pointers it doesn't have any effect on Object Size

Re: [PATCH] handle function pointers in __builtin_object_size (PR 88372)

2018-12-06 Thread Jakub Jelinek
On Thu, Dec 06, 2018 at 01:21:58PM -0700, Martin Sebor wrote: > Bug 88372 - alloc_size attribute is ignored on function pointers > points out that even though the alloc_size attribute is accepted > on function pointers it doesn't have any effect on Object Size > Checking. The reporter, who is impl