In article <200112030149.CAA20486@goedel.fjf.gnu.de>, Frank Heckenbach <frank@g-n-u.de> writes
Again, the test program was quite necessary. The bug was in the interface (GPI) mechanism, and just happened to affect packed records (and possibly other things as well, though I haven't observed any). (martin2a.pas, and martin2b.pas for an even simpler example that showed the bug)
Patch attached (though it was made against otherwise modified sources; if you can't apply it, you'll have to wait for Peter's next upload).
The patch worked with one minor problem. A line in todo.texi was inserted one line too high up in the file and stopped the build. A bit of trial and error soon sorted out the problem. Also I am a bit puzzled that the build also stopped, complaining that bison wasn't installed (which was true) but it hadn't been required previously. Installing bison fixed the problem. I am very pleased to report that the fix works both for my test program and at a very preliminary inspection for my application :-) Also the patched compiler caught an attempt (which had previously been missed) to assign a constant value to a subrange outside the limits of the subrange :-) Thank you once again for your usual prompt and extremely helpful responses to our problems. We do appreciate your efforts even if we sometimes forget to say so. I have observed one more, possibly cosmetic, problem which I will investigate and attempt to produce a test program to demonstrate. -- Martin Liddle, Tynemouth Computer Services, 27 Garforth Close, Cramlington, Northumberland, England, NE23 6EW. Phone: 01670-712624. Fax: 01670-717324. Web site: <http://www.tynecomp.co.uk>.