https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66076
rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |rsandifo at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org --- Comment #2 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> --- The bug occurs when we reuse an array from a previous FOR_EACH_SUBRTX (which is supposed to be supported) in cases where both iterations blow the stack array and require the heap. When moving from the stack to the heap array the second time, we try to "grow" the heap array to a size that's smaller than its current size. Testing a fix.