Test suite results for test file test/cg/tcalcon1.pp

Test run data :

Run ID:
Operating system: linux
Processor: x86_64
Version: 3.2.3
Fails/OK/Total: 27/8127/8154
Version: 3.2.3
Full version: 3.2.3-1373-gae0fe8a6a0
Comment: -gl -Fl/usr/lib -Fl/usr/lib/gcc/x86_64-linux-gnu/10 -Fl/usr/lib/x86_64-linux-gnu -Cg -O2 -Fd
Machine: gcc13
Category: 1
SVN revisions: fdf93c5b29:c17a0e20f5:ae0fe8a6a0:d1c29e6cb9
Submitter: pierre
Date: 2024/04/19 10:45:00 <> 2024/04/09
Previous run: 934301
Next run: 935636

Hide skipped tests

Hide successful tests

Test file "test/cg/tcalcon1.pp" information:

t_id 1538
t_cpu powerpc
t_adddate 2005/03/28
t_result 0
t_knownrunerror 0

Detailed test run results:

tr_idruntr_oktr_skiptr_result
443589303934955FalseTrueSkipping test because for other cpu

Record count: 1

No log of 934955.

Source:

{ %cpu=powerpc }
{ %target=darwin,macos}

type
  tr1 = record
    b: byte;
  end;

  tr2 = record
    l: longint;
  end;

  tr3 = record
    i: int64;
  end;

  tr4 = record
    s: string;
  end;

var
  r1: tr1;
  r2: tr2;
  r3: tr3;
  r4: tr4;

procedure p1normal(const r: tr1);
begin
  if @r = @r1 then
    halt(1);
end;


procedure p2normal(const r: tr2);
begin
  if @r = @r2 then
    halt(1);
end;


procedure p3normal(const r: tr3);
begin
  if @r = @r3 then
    halt(1);
end;


procedure p4normal(const r: tr4);
begin
  if @r <> @r4 then
    halt(1);
end;

procedure p1normal2(r: tr1);
begin
  if @r = @r1 then
    halt(1);
end;


procedure p2normal2(r: tr2);
begin
  if @r = @r2 then
    halt(1);
end;


procedure p3normal2(r: tr3);
begin
  if @r = @r3 then
    halt(1);
end;


procedure p4normal2(r: tr4);
begin
  if @r = @r4 then
    halt(1);
end;


procedure p1mw(const r: tr1); mwpascal;
begin
  if @r <> @r1 then
    halt(1);
end;


procedure p2mw(const r: tr2);mwpascal;
begin
  if @r <> @r2 then
    halt(1);
end;


procedure p3mw(const r: tr3);mwpascal;
begin
  if @r <> @r3 then
    halt(1);
end;


procedure p4mw(const r: tr4);mwpascal;
begin
  if @r <> @r4 then
    halt(1);
end;


procedure p1mw2(r: tr1); mwpascal;
begin
  if @r = @r1 then
    halt(1);
end;


procedure p2mw2(r: tr2);mwpascal;
begin
  if @r = @r2 then
    halt(1);
end;


procedure p3mw2(r: tr3);mwpascal;
begin
  if @r = @r3 then
    halt(1);
end;


procedure p4mw2(r: tr4);mwpascal;
begin
  if @r = @r4 then
    halt(1);
end;


begin
  p1normal(r1);
  p2normal(r2);
  p3normal(r3);
  p4normal(r4);

  p1normal2(r1);
  p2normal2(r2);
  p3normal2(r3);
  p4normal2(r4);

  p1mw(r1);
  p2mw(r2);
  p3mw(r3);
  p4mw(r4);

  p1mw2(r1);
  p2mw2(r2);
  p3mw2(r3);
  p4mw2(r4);
end.

Link to SVN view of test/cg/tcalcon1.pp source.