Waldek Hebisch wrote:
Fiedler, Todd, A wrote:
I ran gpc with the following command line:
gpc -x Pascal -save-temps lister.p -o lister
lister.p: In procedure `showpiece': lister.p:7730: internal compiler error: in find_function_data, at function.c:317 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions.
The problem is that GPC lost track of variables. More precisely, the line (in procedure printfeature):
with f^, f^.definition^ do begin
confused GPC. As a workaround you may replace it by:
with f^ do with f^.definition^ do begin
Why not write simply:
WITH f^, definition^ DO BEGIN
or, for completely positive usage, use:
WITH f^ DO WITH definition^ DO BEGIN ... END; ...