Hi!
When I was practicing my Pascal's skills yesterday before an exam, I managed to ICE fpc. I thought it was a bug in the fpc of my Debian distribution. However, I tried to compile the program in a server of my faculty and also fpc crashed there.
I don't know if someone has reported this before or has been already fixed (I don't follow this ML); if so, excuse me.
I have been reduced the bug into a minimal program:
program ice;
type t = set of 1..5;
begin 1 in t end.The following happens when trying to compile it:
~ $ cat ice.pas
program ice;
type t = set of 1..5;
begin 1 in t end.
~ $ fpc ice.pas
Free Pascal Compiler version 2.2.0 [2007/11/05] for i386 Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Linux for i386
Compiling ice.pas
Fatal: Compilation aborted
An unhandled exception occurred at $080DD26C :
EAccessViolation : Access violation
$080DD26C
$080EC816
$0813EC78
$08116363
$08118218
$080FBCAB
$080618D8
$08048276
Error: /usr/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled)
~ $
Thank you for developing fpc!
