[Bug modula2/121721] New: tiny wideset example takes too much time to compile
gaius at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 29 13:20:56 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121721
Bug ID: 121721
Summary: tiny wideset example takes too much 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: ---
Consider the following tiny example:
$ cat huge.mod
MODULE huge ;
TYPE
type = [0..256 * 256 * 32] ;
large = SET OF type ;
VAR
s: large ;
BEGIN
s := large {}
END huge.
$ time gm2 -g huge.mod
real 0m13.459s
user 0m13.404s
sys 0m0.054s
On a 3Ghz AMD Ryzen 9 7950X3D.
More information about the Gcc-bugs
mailing list