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

t_id 1511
t_adddate 2005/03/06
t_result 0
t_knownrunerror 0
t_opts -gh

Detailed test run results:

Record count: 50

Total = 50

OK=40 Percentage= 80.00

Result type Cat. Count Percentage First date Last Date
Failed to run 10 20.0 2024/05/21 03:53:00 234 2024/05/21 05:35:00 105
i386 1 10.0 2024/05/21 03:53:00 234 2024/05/21 03:53:00 234
powerpc 1 10.0 2024/05/21 04:15:00 238 2024/05/21 04:15:00 238
powerpc64 8 80.0 2024/05/21 05:13:00 105 2024/05/21 05:35:00 105
linux 10 100.0 2024/05/21 03:53:00 234 2024/05/21 05:35:00 105
3.3.1 10 100.0 2024/05/21 03:53:00 234 2024/05/21 05:35:00 105
Successfully run 40 80.0 2024/05/21 01:40:00 15 2024/05/21 05:38:00 35
i386 6 15.0 2024/05/21 01:52:00 47 2024/05/21 05:38:00 44
m68k 1 2.5 2024/05/21 04:00:00 53 2024/05/21 04:00:00 53
sparc 1 2.5 2024/05/21 04:50:00 56 2024/05/21 04:50:00 56
x86_64 23 57.5 2024/05/21 01:40:00 15 2024/05/21 05:38:00 35
powerpc64 4 10.0 2024/05/21 04:20:00 53 2024/05/21 04:34:00 57
mipsel 1 2.5 2024/05/21 04:11:00 185 2024/05/21 04:11:00 185
aarch64 3 7.5 2024/05/21 03:47:00 31 2024/05/21 04:37:00 35
riscv64 1 2.5 2024/05/21 04:44:00 30 2024/05/21 04:44:00 30
linux 30 75.0 2024/05/21 01:40:00 15 2024/05/21 05:38:00 35
win32 1 2.5 2024/05/21 04:53:00 28 2024/05/21 04:53:00 28
go32v2 2 5.0 2024/05/21 04:13:00 54 2024/05/21 04:56:00 56
solaris 7 17.5 2024/05/21 03:16:00 19 2024/05/21 03:35:00 27
3.3.1 21 52.5 2024/05/21 01:40:00 15 2024/05/21 05:12:00 29
3.2.3 19 47.5 2024/05/21 01:52:00 47 2024/05/21 05:38:00 35

Source:

{ %OPT=-gh }
{ Source provided for Free Pascal Bug Report 3742 }
{ Submitted by "Martin Schreiber" on  2005-03-04 }
{ e-mail:  }
program project1;

{$mode objfpc}{$H+}
//compile with -glh

uses
  Classes;

type
 integerarty = array of integer;
 scopestackcachety = record
  startscope: integer;
  stack: integerarty;
 end;

 scopestackcachearty = array of scopestackcachety;

var
 ar2: scopestackcachearty;

procedure testproc;

var
 ar1: integerarty;

begin
 setlength(ar1,2);
 setlength(ar2,2);
 ar2[0].stack:= copy(ar1,0,1);
 ar2[1].stack:= copy(ar1,0,1);
 writeln('refcount a 0: ',pinteger(pchar(pointer(ar2[0].stack)-8))^);
 writeln('refcount a 1: ',pinteger(pchar(pointer(ar2[1].stack)-8))^);
end;

begin
 testproc;
 writeln('refcount b 0: ',pinteger(pchar(pointer(ar2[0].stack)-8))^);
 writeln('refcount b 1: ',pinteger(pchar(pointer(ar2[1].stack)-8))^);
 finalize(ar2);
end.

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