Test suite results for test file test/cg/cdecl/taoc6.pp

Test run data :

Free Pascal Compiler Test Suite Results

View Test suite results

Please specify search criteria:
File:
Operating system:
Processor:
Version
Date
Submitter
Machine
Comment
Limit
Cond
Category
Only failed tests
Hide skipped tests
List all tests

Test file "test/cg/cdecl/taoc6.pp" information:

t_id 215
t_adddate 2003/10/03
t_result 0
t_knownrunerror 0

Detailed test run results:

Record count: 50

Total = 50

OK=7 Percentage= 14.00

Skipped=43 Percentage= 86.00

Result type Cat. Count Percentage First date Last Date
Success, compilation failed 7 14.0 2024/05/08 12:17:00 25 2024/05/08 14:18:00 25
i386 7 100.0 2024/05/08 12:17:00 25 2024/05/08 14:18:00 25
linux 2 28.6 2024/05/08 12:32:00 236 2024/05/08 12:44:00 172
win32 5 71.4 2024/05/08 12:17:00 25 2024/05/08 14:18:00 25
3.3.1 5 71.4 2024/05/08 12:32:00 236 2024/05/08 14:18:00 25
3.2.3 2 28.6 2024/05/08 12:17:00 25 2024/05/08 12:44:00 172
Skipping test because for other cpu 43 86.0 2024/05/08 11:24:00 238 2024/05/08 14:13:00 40
m68k 2 4.7 2024/05/08 12:40:00 244 2024/05/08 12:52:00 58
sparc 5 11.6 2024/05/08 11:58:00 56 2024/05/08 13:43:00 62
powerpc 4 9.3 2024/05/08 11:24:00 238 2024/05/08 13:17:00 181
arm 2 4.7 2024/05/08 12:28:00 33 2024/05/08 12:36:00 210
x86_64 6 14.0 2024/05/08 12:06:00 41 2024/05/08 14:13:00 40
powerpc64 6 14.0 2024/05/08 11:36:00 242 2024/05/08 13:33:00 60
mips 2 4.7 2024/05/08 12:44:00 239 2024/05/08 13:01:00 154
mipsel 2 4.7 2024/05/08 12:48:00 183 2024/05/08 13:10:00 228
aarch64 4 9.3 2024/05/08 11:57:00 41 2024/05/08 12:29:00 32
sparc64 6 14.0 2024/05/08 11:58:00 155 2024/05/08 14:06:00 137
riscv64 3 7.0 2024/05/08 11:52:00 30 2024/05/08 12:10:00 36
loongarch64 1 2.3 2024/05/08 12:37:00 36 2024/05/08 12:37:00 36
linux 43 100.0 2024/05/08 11:24:00 238 2024/05/08 14:13:00 40
3.3.1 27 62.8 2024/05/08 11:24:00 238 2024/05/08 13:35:00 32
3.2.3 16 37.2 2024/05/08 11:54:00 75 2024/05/08 14:13:00 40

Source:

{ sixth simple array of const test
  for int64 values }

{$mode objfpc}

program test_cdecl_array_of_const;

type
  pint64 = ^int64;
var
  l : int64;



const
  has_errors : boolean = false;

procedure test_one_int64(args : array of const);cdecl;
var
  p : pint64;
begin
 p:=pint64(@args);
 l:=p^;
end;

procedure test_two_int64(args : array of const);cdecl;
var
  p : pint64;
begin
 p:=pint64(@args);
 cardinal(p):=cardinal(p)+sizeof(int64);
 l:=p^;
end;


var
 i,j : int64;

begin
 i:=$65ffffff;
 i:=i*5698;
 j:=2*i;
 test_one_int64([i]);
 if l<>i then
   has_errors:=true;
 l:=4;
 test_one_int64([j,i]);
 if l<>j then
   has_errors:=true;
 l:=4;
 test_one_int64([i+j,i,j]);
 if l<>i+j then
   has_errors:=true;
 l:=4;
 test_two_int64([i+j,j-i]);
 if l<>j-i then
   has_errors:=true;
 if has_errors then
   begin
     Writeln('cdecl array of const problem for int64');
     halt(1);
   end;
end.

Link to SVN view of test/cg/cdecl/taoc6.pp source.