public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug modula2/110633] New: Using an unknown identifier as argument to ORD results in ICE
@ 2023-07-11 17:51 admin@tho-otto.de
  2023-08-01 18:13 ` [Bug modula2/110633] " gaius at gcc dot gnu.org
  2023-08-01 18:18 ` gaius at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: admin@tho-otto.de @ 2023-07-11 17:51 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110633
           Summary: Using an unknown identifier as argument to ORD results
                    in ICE
           Product: gcc
           Version: 13.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: modula2
          Assignee: gaius at gcc dot gnu.org
          Reporter: admin@tho-otto.de
  Target Milestone: ---

When compiling

MODULE foo;

VAR x: CARDINAL;

BEGIN
  x := ORD(nosuchvar);
END foo.


I get:


M2MetaError.mod:1535:internalformat error detected


errorBlock

type      = abort
out       = ||
in        = |the parameter to {%A1k%a} must be a variable or constant, seen
{%2ad}|
Length (out) = 0
len       = 69
highplus1 = 2*** WARNING *** there are active plugins, do not report this as a
bug unless you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH                    | m2rte
cc1gm2: internal compiler error: in libc_abort, at m2/mc-boot-ch/Glibc.c:70


Might be a general problem when using builtin functions (replacing ORD by CHR
gives the same ICE). Maybe a similar problem as in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110189

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

* [Bug modula2/110633] Using an unknown identifier as argument to ORD results in ICE
  2023-07-11 17:51 [Bug modula2/110633] New: Using an unknown identifier as argument to ORD results in ICE admin@tho-otto.de
@ 2023-08-01 18:13 ` gaius at gcc dot gnu.org
  2023-08-01 18:18 ` gaius at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: gaius at gcc dot gnu.org @ 2023-08-01 18:13 UTC (permalink / raw)
  To: gcc-bugs

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

Gaius Mulley <gaius at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-08-01
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |ASSIGNED

--- Comment #1 from Gaius Mulley <gaius at gcc dot gnu.org> ---
Now fixed on the gcc-13 branch.  Many thanks for the bug report!

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

* [Bug modula2/110633] Using an unknown identifier as argument to ORD results in ICE
  2023-07-11 17:51 [Bug modula2/110633] New: Using an unknown identifier as argument to ORD results in ICE admin@tho-otto.de
  2023-08-01 18:13 ` [Bug modula2/110633] " gaius at gcc dot gnu.org
@ 2023-08-01 18:18 ` gaius at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: gaius at gcc dot gnu.org @ 2023-08-01 18:18 UTC (permalink / raw)
  To: gcc-bugs

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

Gaius Mulley <gaius at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #2 from Gaius Mulley <gaius at gcc dot gnu.org> ---
Closing as now fixed during:

commit 428a9fc37547684cae2b4f8435a65c6c73131670

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-11 17:51 [Bug modula2/110633] New: Using an unknown identifier as argument to ORD results in ICE admin@tho-otto.de
2023-08-01 18:13 ` [Bug modula2/110633] " gaius at gcc dot gnu.org
2023-08-01 18:18 ` 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).