Running gpc-20030507 with gcc-3.2.3 (i486-pc-mingw32), I wish to compile in Extended Pascal mode but also allow the "external" keyword. With "ifmod.pas" containing:
module ifmod;
export ifmod = (proc);
procedure proc; external;
end;
end.
...and compiling this with:
gpc --extended-pascal --enable-keyword=external -c ifmod.pas
...I get:
gpc1.exe: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.gnu-pascal.de/todo.html for instructions.
In fact, I can produce the same error with just:
gpc1 -fenable-keyword=x
...from the i486-pc-mingw32/3.2.3 subdirectory. I have reproduced this on the Chief's distribution as well.
-- Dave