[fpc-devel] ICE when compiling a 3-line program
Sergei Gorelkin
sergei_gorelkin at mail.ru
Mon Jan 28 18:00:14 CET 2008
Joost van der Sluis wrote:
> I've compiled your program and it gives a nice error-message about a
> missing 'begin'.
>
> I also used fpc version 2.2.0, and that also works. (i386-linux and
> x86_64-linux)
>
> So was there also something else?
>
Looks like there wasn't. At my site, with trunk version of FPC, the
fault was reproducible in Windows, here is the callstack:
Target OS: Win32 for i386
Compiling ice.pas
Fatal: Compilation aborted
An unhandled exception occurred at $00464D53 :
EAccessViolation : Access violation
$00464D53 TINNODE__PASS_TYPECHECK, line 272 of nset.pas
$00437E95 TYPECHECKPASS, line 75 of pass_1.pas
$004E04CA STATEMENT, line 1030 of pstatmnt.pas
$004E071E STATEMENT_BLOCK, line 1122 of pstatmnt.pas
$004B66E0 BLOCK, line 238 of psub.pas
$004B86C4 TCGPROCINFO__PARSE_BODY, line 1277 of psub.pas
$0042C8C5 COMPILE, line 387 of parser.pas
$004111A0 COMPILE, line 244 of compiler.pas
$00401756 main, line 207 of pp.pas
Sergei
More information about the fpc-devel
mailing list