https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114626
Bug ID: 114626 Summary: Very long time for compilation the attached program, depends on value of a parameter Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: arjen.markus895 at gmail dot com Target Milestone: --- Created attachment 57894 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57894&action=edit Source of the program causing the very long compile time The attached program causes the gfortran compiler to take a very long time if the parameter max_ij is set to 100. It may not even finish. If the parameter is set to 13 (to at least give one result), it takes a few seconds but at least finishes in a reasonable time. This is with default compile options. I have not tried specific options. (Note: it is a silly program, meant for demonstration only.)