https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113363
--- Comment #7 from Paul Thomas <pault at gcc dot gnu.org> --- Created attachment 57892 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57892&action=edit Fix for this PR The attachment has two fixes for the PR :-) The first chunk in trans-array.cc is an alternative to the direct, rather brutal chunk in trans-stmt.cc. The latter, though, isolates the fix to allocate statements. I am not entirely sure which is better. It needs some comments and a proper testcase. Cheers Paul