Frank Heckenbach wrote:
Adriaan van Os wrote:
Some of the failures (not all) are reproduced below, with my comments. One possible fix of the testsuite is to replace Integer by CInteger where appropriate.
Yes. Have you made a diff already?
It's included.
TEST fjf327.pas: ./fjf327.pas: In main program: ./fjf327.pas:9: error: constant out of range failed
*** compiler is right, testsuite is wrong (I recall the discussion on range checking for constants)
What does the discussion have to do with it? AFAICS, it's the same issue as before: The test program assumes that the negative of the maximum value of Cardinal is representable which is true if and only if Cardinal is smaller than LongestInt. So, yes, the test program is wrong, as before.
Yes, the test program is wrong, I just hinted at $R- for constants.
Regards,
Adriaan van Os