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

            Bug ID: 121856
           Summary: Set declaration takes a long time to compile
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: modula2
          Assignee: gaius at gcc dot gnu.org
          Reporter: gaius at gcc dot gnu.org
  Target Milestone: ---

This is related to PR-121721 however this PR is only for the declaration of a
large set type.
(No set variable or constant declared and no set contents created).

For example:

$ cat hugedecl.mod
MODULE hugedecl ;

TYPE
   set = SET OF [0..256 * 256 * 64] ;
BEGIN

END hugedecl.

$ time gm2 hugedecl.mod
real    0m25.645s
user    0m25.554s
sys     0m0.091s

Reply via email to