fpc/compiler/loongarch64
Pierre Muller e8a03ac8bc Try to fix crash in loongarch64 compiler
loongarch64 compiler has a specific routine,
  called fixupref that generates some instructions that are
  stored into a tasmlist given as an input parameter.
  This function returns a boolean,
  if the return value is false, the populated list gets
  sometimes discarded.
  This can lead to a later crash, because the unused
  and freed instructions might have been stored
  in live and live_end fields of the reginfo record
  used inside rgobj unit.

  The fix checks if any of the to be discarded instructions
  has been stored inside reginfo records,
  and resets the field in that case.

  The fix might need to be more general,
  because other parts of the compiler,
  like all optimization code, also remove
  instructions...
2023-09-26 18:18:04 +00:00
..
aasmcpu.pas
agcpugas.pas
aoptcpu.pas
aoptcpub.pas
aoptcpuc.pas
aoptcpud.pas
cgcpu.pas Try to fix crash in loongarch64 compiler 2023-09-26 18:18:04 +00:00
cpubase.pas
cpuinfo.pas
cpunode.pas
cpupara.pas
cpupi.pas
cputarg.pas
hlcgcpu.pas
itcpugas.pas
loongarch64att.inc
loongarch64nop.inc
loongarch64op.inc
loongarchins.dat
loongarchreg.dat
ncpuadd.pas
ncpucnv.pas
ncpuinl.pas
ncpumat.pas
ncpuset.pas
racpu.pas
racpugas.pas
rgcpu.pas
rloongarch64abi.inc
rloongarch64con.inc
rloongarch64dwa.inc
rloongarch64nor.inc
rloongarch64num.inc
rloongarch64rni.inc
rloongarch64sri.inc
rloongarch64sta.inc
rloongarch64std.inc
rloongarch64sup.inc
symcpu.pas
tripletcpu.pas