Re: [PATCH v3] Fix ICE when mixing VLAs and statement expressions [PR91038]

2021-10-05 Thread Jason Merrill via Gcc-patches
On 10/2/21 15:06, Uecker, Martin wrote: Am Donnerstag, den 23.09.2021, 17:37 -0400 schrieb Jason Merrill: On 9/23/21 15:49, Uecker, Martin wrote: Am Mittwoch, den 22.09.2021, 17:18 -0400 schrieb Jason Merrill: On 9/5/21 15:14, Uecker, Martin wrote: Here is the third version of the patch. This

Re: [PATCH v3] Fix ICE when mixing VLAs and statement expressions [PR91038]

2021-10-02 Thread Uecker, Martin
Am Donnerstag, den 23.09.2021, 17:37 -0400 schrieb Jason Merrill: > On 9/23/21 15:49, Uecker, Martin wrote: > > Am Mittwoch, den 22.09.2021, 17:18 -0400 schrieb Jason Merrill: > > > On 9/5/21 15:14, Uecker, Martin wrote: > > > > Here is the third version of the patch. This also > > > > fixes the in

Re: [PATCH v3] Fix ICE when mixing VLAs and statement expressions [PR91038]

2021-09-23 Thread Jason Merrill via Gcc-patches
On 9/23/21 15:49, Uecker, Martin wrote: Am Mittwoch, den 22.09.2021, 17:18 -0400 schrieb Jason Merrill: On 9/5/21 15:14, Uecker, Martin wrote: Here is the third version of the patch. This also fixes the index zero case. Thus, this should be a complete fix for 91038 and should fix all cases als

Re: [PATCH v3] Fix ICE when mixing VLAs and statement expressions [PR91038]

2021-09-23 Thread Uecker, Martin
Am Mittwoch, den 22.09.2021, 17:18 -0400 schrieb Jason Merrill: > On 9/5/21 15:14, Uecker, Martin wrote: > > Here is the third version of the patch. This also > > fixes the index zero case. Thus, this should be > > a complete fix for 91038 and should fix all cases > > also supported by clang. Sti

Re: [PATCH v3] Fix ICE when mixing VLAs and statement expressions [PR91038]

2021-09-22 Thread Jason Merrill via Gcc-patches
On 9/5/21 15:14, Uecker, Martin wrote: Here is the third version of the patch. This also fixes the index zero case. Thus, this should be a complete fix for 91038 and should fix all cases also supported by clang. Still not working is returning a struct of variable size from a statement expressi

[PATCH v3] Fix ICE when mixing VLAs and statement expressions [PR91038]

2021-09-05 Thread Uecker, Martin
Here is the third version of the patch. This also fixes the index zero case. Thus, this should be a complete fix for 91038 and should fix all cases also supported by clang. Still not working is returning a struct of variable size from a statement expression (29970) when the size depends on compu