https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109969
Bug ID: 109969
Summary: Linking large project causes an ICE
Product: gcc
Version: 14.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: ---
As reported on the gm2 mailing list - linking a large project 80k lines causes
an ICE.
Brief analysis also highlights a bug in M2LexBuf_OpenSource and GetToken (which
sets currenttoken to eoftok) even though the definition module contains correct
code.
I suspect that fixing this bug will also fix PR 108344 (both reference GetToken
- which is due for a re-write).