Test suite results for test file webtbs/tw3460.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 "webtbs/tw3460.pp" information:

t_id 1418
t_cpu i386,x86_64
t_adddate 2004/12/23
t_result 0
t_knownrunerror 0

Detailed test run results:

Record count: 50

Total = 50

OK=5 Percentage= 10.00

Skipped=45 Percentage= 90.00

Result type Cat. Count Percentage First date Last Date
Successfully run 5 10.0 2024/05/08 10:33:00 43 2024/05/08 11:10:00 236
i386 5 100.0 2024/05/08 10:33:00 43 2024/05/08 11:10:00 236
linux 4 80.0 2024/05/08 10:33:00 43 2024/05/08 11:10:00 236
win32 1 20.0 2024/05/08 10:53:00 35 2024/05/08 10:53:00 35
3.3.1 3 60.0 2024/05/08 10:58:00 42 2024/05/08 11:10:00 236
3.2.3 2 40.0 2024/05/08 10:33:00 43 2024/05/08 10:53:00 35
Skipping test because for other cpu 45 90.0 2024/05/08 09:37:00 69 2024/05/08 11:12:00 58
m68k 3 6.7 2024/05/08 10:41:00 60 2024/05/08 11:12:00 58
sparc 1 2.2 2024/05/08 09:37:00 69 2024/05/08 09:37:00 69
powerpc 4 8.9 2024/05/08 10:55:00 44 2024/05/08 11:09:00 182
arm 3 6.7 2024/05/08 10:23:00 59 2024/05/08 11:06:00 37
x86_64 6 13.3 2024/05/08 09:45:00 27 2024/05/08 10:46:00 27
powerpc64 14 31.1 2024/05/08 09:41:00 72 2024/05/08 10:38:00 79
mips 1 2.2 2024/05/08 10:51:00 48 2024/05/08 10:51:00 48
mipsel 1 2.2 2024/05/08 11:01:00 39 2024/05/08 11:01:00 39
aarch64 10 22.2 2024/05/08 09:57:00 38 2024/05/08 11:09:00 39
sparc64 1 2.2 2024/05/08 10:00:00 183 2024/05/08 10:00:00 183
loongarch64 1 2.2 2024/05/08 11:06:00 38 2024/05/08 11:06:00 38
linux 42 93.3 2024/05/08 09:37:00 69 2024/05/08 11:12:00 58
aix 3 6.7 2024/05/08 09:52:00 80 2024/05/08 10:38:00 79
3.3.1 11 24.4 2024/05/08 09:37:00 69 2024/05/08 11:12:00 58
3.2.3 34 75.6 2024/05/08 09:41:00 72 2024/05/08 11:09:00 39

Source:

{ %cpu=i386,x86_64 }

{ Source provided for Free Pascal Bug Report 3460 }
{ Submitted by "Danny Milosavljevic" on  2004-12-22 }
{ e-mail: danny_milo@yahoo.com }

{$ifdef fpc}{$mode delphi}{$endif}

type
  TGValue=array[0..10] of byte;
  PGValue=^TGValue;
  
function x: Integer;
asm
  mov edx,0
  add edx, dword(sizeof(Integer))
  mov Result, edx
end;

function SignalHandlerNextParam(param: PGValue): PGValue;
asm
  mov edx, param
  add edx, dword(sizeof(TGValue))
  mov Result, edx    
end;

var
  a : array[0..10] of TGValue;
begin
  SignalHandlerNextParam(@a[0]);
  writeln(x);
  if x<>sizeof(integer) then
    halt(1);
end.

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