https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87239
Paul Thomas <pault at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pault at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> --- (In reply to Dominique d'Humieres from comment #4) > Duplicate of/ related to pr77325 and pr84109. PR84109 is completely different. The array descriptor 'elem_len' is being set to zero during the allocation. PR77325 is also not related. It appears that the vla type is not being registered so that the gimplifier is cannot determine the space allocation. In this PR, the code is OK but in the wrong order. The call to gettwo uses 'S.2' and 'str.3' before they are declared. I will take this one and will come back to the other two when I am done. Paul