public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug modula2/109810] New: String literal exceeding array causes ICE
@ 2023-05-11 11:48 gaius at gcc dot gnu.org
  2023-05-11 11:49 ` [Bug modula2/109810] " gaius at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: gaius at gcc dot gnu.org @ 2023-05-11 11:48 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 109810
           Summary: String literal exceeding array causes 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.  If a string literal exceeding the array
size is assigned then an ICE occurs.  For example:

MODULE highice ;

VAR
   a: ARRAY [0..0] OF CHAR ;
BEGIN
   a := '12'
END highice.

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

end of thread, other threads:[~2023-07-28 18:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-11 11:48 [Bug modula2/109810] New: String literal exceeding array causes ICE gaius at gcc dot gnu.org
2023-05-11 11:49 ` [Bug modula2/109810] " gaius at gcc dot gnu.org
2023-05-11 11:52 ` gaius at gcc dot gnu.org
2023-05-11 22:06 ` gaius at gcc dot gnu.org
2023-05-11 22:08 ` gaius at gcc dot gnu.org
2023-05-11 23:19 ` cvs-commit at gcc dot gnu.org
2023-05-11 23:21 ` gaius at gcc dot gnu.org
2023-07-28 18:28 ` cvs-commit 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).