Re: [fpc-devel] Odd test failure on x86_64-win64

2021-05-12 Thread J. Gareth Moreton via fpc-devel
It just seemed odd to me that switching to the external assembler (due to -a) causes the section to be read/write, while the internal assembler can handle it.  That might be a limitation with the external assembler though. Gareth aka. Kit On 12/05/2021 22:22, Pierre Muller via fpc-devel wrote

Re: [fpc-devel] Odd test failure on x86_64-win64

2021-05-12 Thread Pierre Muller via fpc-devel
Please look at: https://www.freepascal.org/testsuite/cgi-bin/new-testsuite2.cgi?action=4&testfileid=5630 .rdata support, i.e. read-only data sections, is not supported in several CPU-OS combination, and IIRC, it is even worse for PIC code, but I don't really know if these special limitations

[fpc-devel] Odd test failure on x86_64-win64

2021-05-12 Thread J. Gareth Moreton via fpc-devel
Hi everyone, So I stumbled across this during my optimisation development: Under x86_64-win64 (I'm not sure about other platforms), the test "test/tarray15.pp" fails with exitcode 19 if you run the test suite with TEST_OPT=-a to create assembly dumps.  The failure is because the code attempts

Re: [fpc-devel] Implicit function specialization precedence

2021-05-12 Thread Ryan Joseph via fpc-devel
> On May 9, 2021, at 1:30 AM, Sven Barth wrote: > > Essentially it will boil down to sym.ChangeOwner(pd.parast) > > However you need to keep the Owner (which is different from what you change > with ChangeOwner) different as otherwise is_specialization of the procdef > will not work correctl