[Bug fortran/66310] Problems with intrinsic repeat for large number of copies

jvdelisle at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jun 19 04:19:00 GMT 2016


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

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #37811|0                           |1
        is obsolete|                            |

--- Comment #10 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Created attachment 38723
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38723&action=edit
A better patch

This patch sets a hard limit on the maximum number of copies in a repeat. I
picked a somewhat arbitrary a limit of 100000000 since this worked on my
machine with out consuming all memory and crippling the system.


More information about the Gcc-bugs mailing list