https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124185
Bug ID: 124185
Summary: recent regression in printing of fields of complex
numbers
Product: gcc
Version: 16.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: ---
There is a very recent regression in the compiler. This worked fine until
updating to recent master branch of
ga68 (GCC) 16.0.1 20260218 (experimental)
This code:
begin
compl z:=(1.1, 2.2);
puts(("real z: " + fixed(re'z,17,2) + "'n"));
puts(("imag z: " + fixed(im'z,17,2) + "'n"))
end
Should print values of 1.1 for the real part, and 2.2 for the imaginary part.
However, it produces these quite large values instead:
real z: +1066192077.00
imag z: +1074580685.00