https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118978
Bug ID: 118978
Summary: ICE when attempting to pass a REAL actual parameter
into an INTEGER formal parameter
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 per mailing list, here is a reduced testcase:
MODULE badparamtype ;
PROCEDURE foo (i: INTEGER) ;
BEGIN
END foo ;
BEGIN
foo (3.14)
END badparamtype.
which cause ICE on gcc-15 (and gcc-14).