Mirsad Todorovac wrote:
As far as I remember so far we've seen that some numbers were put in SET OF BYTE, but weren't found in by IN operator (which was acknowleged as a bug for Alpha/64bit platform - I don't know whether the test failed on any other architecture?).
This is a test which stresses other issue: I've found some numbers IN SET which were NOT added to it! (Only on Alpha/64bit, on 32bit Solaris all tests pass with OK!).
Also initialization fails, but IMHO all this bugs have something in common; so I went forth with these examples only in hope that they will help nail the bug.
In Pascal, normal variables are not guaranteed to be initialized. Though the sets are in fact empty on my system, I think that's more the OS feature of clearing a new process's storage rather than a language feature. So I'm adding an explicit declaration:
VAR seta, setb, setc: SET OF 0..maxN value [];
This applies to mirsad0[245].
mirsad0[45]: I'm changing the type of start to endr to 0 .. maxN. This is just to avoid the `constructing limited set' warning. That's a known issue, and we don't need yet another test program that exhibits it ...
Apart from this, the tests run ok on IA32 (Linux and DJGPP) as well, and I'll look at them on the Alpha soon.
Frank