Re: __builtin_dynamic_object_size

2019-01-24 Thread Richard Smith
[Please CC me; I'm not subscribed] On Thu, 24 Jan 2019 11:59 at Richard Biener wrote: > On Wed, Jan 23, 2019 at 12:33 PM Jakub Jelinek wrote: > > On Wed, Jan 23, 2019 at 10:40:43AM +, Jonathan Wakely wrote: > > > There's a patch to add __builtin_dynamic_object_size to clang: > > > https://rev

Re: __builtin_dynamic_object_size

2019-01-24 Thread Richard Biener
On Wed, Jan 23, 2019 at 12:33 PM Jakub Jelinek wrote: > > On Wed, Jan 23, 2019 at 10:40:43AM +, Jonathan Wakely wrote: > > There's a patch to add __builtin_dynamic_object_size to clang: > > https://reviews.llvm.org/D56760 > > > > It was suggested that this could be done via a new flag bit for

Re: __builtin_dynamic_object_size

2019-01-23 Thread Martin Sebor
On 1/23/19 3:40 AM, Jonathan Wakely wrote: There's a patch to add __builtin_dynamic_object_size to clang: https://reviews.llvm.org/D56760 It was suggested that this could be done via a new flag bit for __builtin_object_size, but only if GCC would support that too (otherwise it would be done as a

Re: __builtin_dynamic_object_size

2019-01-23 Thread Jakub Jelinek
On Wed, Jan 23, 2019 at 10:40:43AM +, Jonathan Wakely wrote: > There's a patch to add __builtin_dynamic_object_size to clang: > https://reviews.llvm.org/D56760 > > It was suggested that this could be done via a new flag bit for > __builtin_object_size, but only if GCC would support that too >