Test suite results for test file webtbs/tw2110.pp

Test run data :

Run ID:
Operating system: linux
Processor: aarch64
Version: 3.3.1
Fails/OK/Total: 33/9212/9245
Version: 3.3.1
Full version: 3.3.1-15584-g2f9ed0576e
Comment: -XR/home/muller/sys-root/aarch64-linux -Xd -Xr/home/muller/sys-root/aarch64-linux
Machine: cfarm14
Category: 1
SVN revisions: 2f9ed0576e:8b7dbb81b1:3f8bbd3b00:2f9ed0576e
Submitter: muller
Date: 2024/04/19 11:27:00 <> 2024/04/18
Previous run: 934310
Next run: 935647

Hide skipped tests

Hide successful tests

Test file "webtbs/tw2110.pp" information:

t_id 903
t_cpu i386
t_adddate 2003/10/03
t_result 0
t_knownrunerror 0
t_opts -Or

Detailed test run results:

tr_idruntr_oktr_skiptr_result
443776140934982TrueFalseSuccessfully run

Record count: 1

No log of 934982.

Source:

{ %OPT=-Or }
{ %CPU=i386 }
{ m68k compiler does not recognize -Or option }
{ Source provided for Free Pascal Bug Report 2110 }
{ Submitted by "Alex" on  2002-09-05 }
{ e-mail: bjer@freemail.hu }
program BugReport;
{$mode objfpc}

type
  tsmallarray = array[0..3] of byte;

function Y32(Value: Longint): Longint;
var
  t1: array[1..4] of Byte absolute Value;
  t2: array[1..4] of Byte absolute Result;
begin
  t2[1] := t1[4];
  t2[2] := t1[3];
  t2[3] := t1[2];
  t2[4] := t1[1];
end;

function Y3210(Value : longint) : tsmallarray;
 var
  l : longint;
 begin
   l:=value;
   Y3210[0]:=0;
   Y3210[1]:=1;
   Y3210[2]:=2;
   Y3210[3]:=3;
 end;


Var
 l : longint;
 smallarray : tsmallarray;
BEGIN
 l:=$12345678;
 if Y32(l) <> $78563412 then
  Begin
    WriteLn('Error!');
    Halt(1);
  End;  
 smallarray:=Y3210(l);
 if (smallarray[0] <> 0) or
    (smallarray[1] <> 1) or
    (smallarray[2] <> 2) or
    (smallarray[3] <> 3) then
  Begin
    WriteLn('Error!');
    Halt(1);
  end;
  WriteLn('Ok!');   
END.

Link to SVN view of webtbs/tw2110.pp source.