A user reported this bug with gpc-980511, built with the egcs-19980525 snapshot on a Debian/Linux 2.0 system:
% cat typrat.pas
Unit typrat ;
INTERFACE
Type TRATIONNEL = Record num : integer ; den : integer ; end ;
IMPLEMENTATION END.
% cat meo_rat.pas
unit meo_rat ;
INTERFACE
uses typrat in 'typrat.pas';
procedure AffichRat(a : Trationnel) ;
IMPLEMENTATION
procedure AffichRat(a : Trationnel) ; begin end ;
END.
% gpc -c typrat.pas % gpc -c meo_rat.pas gpc: Internal compiler error: program gpc1 got fatal signal 11
I hope that this is enough information to reproduce the bug. If not, please ask.
According to Matthias Klose:
A user reported this bug with gpc-980511, built with the egcs-19980525 snapshot on a Debian/Linux 2.0 system:
[...]
% gpc -c typrat.pas % gpc -c meo_rat.pas gpc: Internal compiler error: program gpc1 got fatal signal 11
I cannot reproduce it. :-(
It works for me with egcs-19980508 on a S.u.S.E. Linux 5.1 system. Does the binary version from
ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/alpha/binary
produce the same error?
Peter