https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128729
Bug ID: 128729
Summary: compilation error short real is interpreted as a
complex value
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: algol68
Assignee: algol68 at gcc dot gnu.org
Reporter: jpl.algol68 at gmail dot com
Target Milestone: ---
Compiling a program with a short real variable fails.
Example code of failure:
begin
short real sr := Shorten 4.4;
sr
end
Error message from compilation attempt:
weird_error.a68:3:14: error: compl cannot be coerced to real in a strong-unit
3 | short real sr := Shorten 4.4;
|