While developing some timer code I stumbled across a compiler error using Delphi 4. I copied the code to a new project and tried again... same error. According to Delphi Help compiler errors shouldn't occur. I don't have access to any later versions of Delphi so I'm wondering if anyone could try the following in various versions of Delphi and let me know whether it's worth reporting. It's probably a bug that's already been squashed but I'd be interested to know if any of you guys can reproduce the error.

Code:
  Frequency: Int64;
  HiRes: Boolean;

implementation

{$R *.DFM}

procedure TForm1.Button1Click(Sender: TObject);
begin
  Frequency:=1;
  HiRes:=Boolean(Frequency);
end;
I get the following error
[Fatal Error] Unit1.pas(32): Internal error: C848

EDIT: Adjusted code for simplicity.