Re: [PATCH] middle-end/105604 - snprintf dianostics and non-constant sizes/offsets

2022-05-23 Thread Richard Biener via Gcc-patches
On Mon, 23 May 2022, Martin Sebor wrote: > On 5/19/22 05:39, Richard Biener wrote: > > On Wed, 18 May 2022, Martin Sebor wrote: > > > >> On 5/18/22 00:26, Richard Biener wrote: > >>> On Tue, 17 May 2022, Martin Sebor wrote: > >>> > On 5/16/22 03:16, Richard Biener wrote: > > The followin

Re: [PATCH] middle-end/105604 - snprintf dianostics and non-constant sizes/offsets

2022-05-23 Thread Martin Sebor via Gcc-patches
On 5/19/22 05:39, Richard Biener wrote: On Wed, 18 May 2022, Martin Sebor wrote: On 5/18/22 00:26, Richard Biener wrote: On Tue, 17 May 2022, Martin Sebor wrote: On 5/16/22 03:16, Richard Biener wrote: The following tries to correct get_origin_and_offset_r not handling non-constant sizes of

Re: [PATCH] middle-end/105604 - snprintf dianostics and non-constant sizes/offsets

2022-05-19 Thread Richard Biener via Gcc-patches
On Wed, 18 May 2022, Martin Sebor wrote: > On 5/18/22 00:26, Richard Biener wrote: > > On Tue, 17 May 2022, Martin Sebor wrote: > > > >> On 5/16/22 03:16, Richard Biener wrote: > >>> The following tries to correct get_origin_and_offset_r not handling > >>> non-constant sizes of array elements in

Re: [PATCH] middle-end/105604 - snprintf dianostics and non-constant sizes/offsets

2022-05-18 Thread Martin Sebor via Gcc-patches
On 5/18/22 00:26, Richard Biener wrote: On Tue, 17 May 2022, Martin Sebor wrote: On 5/16/22 03:16, Richard Biener wrote: The following tries to correct get_origin_and_offset_r not handling non-constant sizes of array elements in ARRAY_REFs and non-constant offsets of COMPONENT_REFs. It isn't

Re: [PATCH] middle-end/105604 - snprintf dianostics and non-constant sizes/offsets

2022-05-17 Thread Richard Biener via Gcc-patches
On Tue, 17 May 2022, Martin Sebor wrote: > On 5/16/22 03:16, Richard Biener wrote: > > The following tries to correct get_origin_and_offset_r not handling > > non-constant sizes of array elements in ARRAY_REFs and non-constant > > offsets of COMPONENT_REFs. It isn't exactly clear how such failure

Re: [PATCH] middle-end/105604 - snprintf dianostics and non-constant sizes/offsets

2022-05-17 Thread Martin Sebor via Gcc-patches
On 5/16/22 03:16, Richard Biener wrote: The following tries to correct get_origin_and_offset_r not handling non-constant sizes of array elements in ARRAY_REFs and non-constant offsets of COMPONENT_REFs. It isn't exactly clear how such failures should be treated in this API and existing handling

[PATCH] middle-end/105604 - snprintf dianostics and non-constant sizes/offsets

2022-05-16 Thread Richard Biener via Gcc-patches
The following tries to correct get_origin_and_offset_r not handling non-constant sizes of array elements in ARRAY_REFs and non-constant offsets of COMPONENT_REFs. It isn't exactly clear how such failures should be treated in this API and existing handling isn't consistent here either. The followi