Jump to content
Kryvich

F2084 Internal Error in Delphi compiler

Recommended Posts

Never seen such error in Delphi 12, until today:

[dcc32 Fatal Error] CompilerError.dpr(17): F2084 Internal Error: GPFC0000094-152D5B90(15290000)-0

100% repeatability.

program CompilerError;

{$pointermath on}

type
  PRec = ^TRec;
  TRec = record
  end;
  PArr = ^Arr;
  Arr = array [0..0] of TRec;

var
  P: Pointer;

begin
  P:=@PArr(P)[0];
  P:=@PRec(P)[0];
end.

(C) notme

 

Share this post


Link to post
5 minutes ago, Kryvich said:

For the compiler developers, to fix an internal error. If they visit this forum.

The phrase when you report the error is most likely targeting the official issue tracker at https://qp.embarcadero.com/ and not this forum.

Share this post


Link to post
Posted (edited)

@Uwe Raabe I hope the original author (notme) of the snippet has already done this. I've posted it here as a curious fact for those interested (like me). I haven't encountered any internal compiler errors in Delphi in recent years.

 

Although, perhaps this bug has already been fixed in 12.2. (I have 12.1 CE).

Edited by Kryvich

Share this post


Link to post
3 minutes ago, Kryvich said:

Although, perhaps this bug has already been fixed in 12.2. (I have 12.1 CE).

No, it is not fixed.

Share this post


Link to post

 

 

18 hours ago, Kryvich said:

Never seen such error in Delphi 12, until today:


[dcc32 Fatal Error] CompilerError.dpr(17): F2084 Internal Error: GPFC0000094-152D5B90(15290000)-0

 

I got that one just last week. AFAIR, it too had to do with a array[0..0] of stuff. I can't really remember much about it because I was in a rush and just worked around it

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×