dotgnu-libjit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libjit-developers] Patch for libjit byte store bug


From: Evin Robertson
Subject: [Libjit-developers] Patch for libjit byte store bug
Date: Thu, 04 Nov 2004 15:52:31 -0500
User-agent: Mozilla Thunderbird 0.8 (X11/20040926)

The following program does not print the same thing for WriteLn(x) and WriteLn(a). The problem is that when doing a store, the type of the source is used instead of the type of the destination. Patch is put in savannah as bug #10910.


program loadb;

Var a : Byte;

Procedure run;
Var x :  Integer;
begin
   x := a;
   WriteLn(x);
   WriteLn(a);
end;

begin
   a := 250;
   run;
end.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]