Skip to content

Fix test to succeed for big endian mips

Pierre Muller requested to merge pierre/tcustomvar1 into main

Summary

test/tcustomvar1.pp test currently fails for mips-linux target, and also big endian powerpc and powerpc64 linux, and more:

https://www.freepascal.org/testsuite/cgi-bin/new-testsuite2.cgi?action=4&testfilename=test%2Ftcustomvar1.pp&os=15&cpu=8&version=0&date=&submitter=&machine=&comment=&limit=500&cond=&Category=3&failedonly=1

System

  • **Operating system: big endian linux, aix or solaris
  • **Processor architecture: big endian targets: mips, powerpc and powerpc64 tested
  • Device:

What is the current bug behavior?

Currently fails on those targets: https://www.freepascal.org/testsuite/cgi-bin/new-testsuite2.cgi?action=4&testfilename=test%2Ftcustomvar1.pp&os=15&cpu=8&version=0&date=&submitter=&machine=&comment=&limit=500&cond=&Category=3&failedonly=1

What is the behavior after applying this patch?

Should complete successfully with that change, but I am not expert enough to tell if the behavior is correct or not with that change, or it is the code generator that should be modified.

Relevant logs and/or screenshots

Merge request reports