public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug modula2/115003] New: exporting a symbol to outer scope with a name clash causes ICE
@ 2024-05-09  9:06 gaius at gcc dot gnu.org
  2024-05-09  9:06 ` [Bug modula2/115003] " gaius at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: gaius at gcc dot gnu.org @ 2024-05-09  9:06 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 115003
           Summary: exporting a symbol to outer scope with a name clash
                    causes ICE
           Product: gcc
           Version: 15.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, the following program causes an ICE:

MODULE Test;
(*
 * Produces internal compiler error
 * Inside SymbolTable.GetScope, GetPsym() returns an unexpected token.
 *)

TYPE CardType = CARDINAL;

 MODULE Inside;

 EXPORT CardType;

 END Inside;

END Test.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-05-09 18:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-09  9:06 [Bug modula2/115003] New: exporting a symbol to outer scope with a name clash causes ICE gaius at gcc dot gnu.org
2024-05-09  9:06 ` [Bug modula2/115003] " gaius at gcc dot gnu.org
2024-05-09  9:13 ` gaius at gcc dot gnu.org
2024-05-09 18:36 ` cvs-commit at gcc dot gnu.org
2024-05-09 18:36 ` gaius at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).