https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120731

--- Comment #2 from Gaius Mulley <gaius at gcc dot gnu.org> ---
Created attachment 61679
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61679&action=edit
Proposed patch for Strings.Pos

Here is a proposed patch (currently being bootstrap tested).
An internal Slice in the loop within Pos had the wrong arguments which resulted
in allocating strings continually and eventually running out of memory.

Reply via email to