View Issue Details

IDProjectCategoryView StatusLast Update
0037084FPCCompilerpublic2020-05-16 17:52
ReporterC Western Assigned ToFlorian  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformx86_64OSfedora 
Product Version3.3.1 
Fixed in Version3.3.1 
Summary0037084: Compiler crash following r45348: Asm: [pxor mem??,xmmreg1] invalid combination of opcode and operands
Descriptionfpc -MObjFPC -O4 -Cr project1.lpr
Free Pascal Compiler version 3.3.1 [2020/05/16] for x86_64
Copyright (c) 1993-2020 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling project1.lpr
project1.lpr(34,15) Error: Asm: [pxor mem??,xmmreg1] invalid combination of opcode and operands
project1.lpr(40,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted

Source code attached
TagsNo tags attached.
Fixed in Revision45388
FPCOldBugId
FPCTarget-
Attached Files

Activities

C Western

2020-05-16 11:45

reporter  

project1.lpr (704 bytes)   
program project1;

type
  TDoubleArray = array of Double;
  TDoubleArrayArray = array of TDoubleArray;

procedure setupq (
            const x: array of Double;
            const dx: array of Double;
            const y: array of Double;
            const npoint: Integer;
            out v: TDoubleArrayArray;
            out qty: TDoubleArray);
var
  i: Integer;
  npm1: Integer;

begin
  npm1 := npoint - 1;
  SetLength(v,8,npoint+1);
  SetLength(qty,npoint+1);
  v[4,1] := x[2] - x[1];
  for i := 2 to npm1 do begin
    v[4,i] := x[i + 1] - x[i];
    v[1,i] := dx[i - 1] / v[4, i - 1];
    v[2,i] := -dx[i] / v[4, i] - dx[i] / v[4, i - 1];
    v[3,i] := dx[i + 1] / v[4, i];
  end;
end;

begin
end.

project1.lpr (704 bytes)   

Issue History

Date Modified Username Field Change
2020-05-16 11:45 C Western New Issue
2020-05-16 11:45 C Western File Added: project1.lpr
2020-05-16 17:52 Florian Assigned To => Florian
2020-05-16 17:52 Florian Status new => resolved
2020-05-16 17:52 Florian Resolution open => fixed
2020-05-16 17:52 Florian Fixed in Version => 3.3.1
2020-05-16 17:52 Florian Fixed in Revision => 45388
2020-05-16 17:52 Florian FPCTarget => -