On Wed, 10 Jul 2024, Andre Vehreschild wrote:

> Hi all,
> 
> the patch attached fixes the use of an uninitialized variable for the string
> length in the declaration of the char[1:_len] type (the _len!). The type for
> save'd deferred length char arrays is now char*, so that there is no need for
> the length in the type declaration anymore. The length is of course still
> provided and needed later on.
> 
> I hope this fixes the ICE in the IPA: inline phase, because I never saw it. Is
> that what you had in mind @Richard?

I think this will fix the issue by side-stepping the use of a 
variable-length typed variable.
 
> Regtests ok on x86_64-pc-linux-gnu/Fedora 39. Ok for mainline?
> 
> Regards,
>       Andre
> --
> Andre Vehreschild * Email: vehre ad gmx dot de
> 

-- 
Richard Biener <rguent...@suse.de>
SUSE Software Solutions Germany GmbH,
Frankenstrasse 146, 90461 Nuernberg, Germany;
GF: Ivo Totev, Andrew McDonald, Werner Knoblich; (HRB 36809, AG Nuernberg)

Reply via email to