svenbarth
2c372071fd
* correctly handle static arrays with a lower index <> 0
...
+ added test
git-svn-id: trunk@46901 -
2020-09-19 21:20:07 +00:00
florian
449cc8f152
* make use of AllocMem in fpc_dynarray_setlength
...
git-svn-id: trunk@46900 -
2020-09-19 21:06:11 +00:00
svenbarth
0c316deab5
* readd SmallInt typecasts to SmallInt overload of SwapEndian
...
git-svn-id: trunk@46898 -
2020-09-19 17:42:04 +00:00
svenbarth
9d86fed95b
* avoid range check error when using SwapEndian with 16-bit constants
...
+ added test
git-svn-id: trunk@46897 -
2020-09-19 17:04:17 +00:00
Jonas Maebe
74a641344a
* renamed WebFrame.DOMDocument_ back to DOMDocument after 10.10 update
...
(mantis #37769 )
git-svn-id: trunk@46896 -
2020-09-19 16:17:10 +00:00
svenbarth
15141124f4
* restore ability to cycle with 3.0.4 (at least until 3.2.2 is released) after r46890
...
git-svn-id: trunk@46895 -
2020-09-19 13:54:25 +00:00
florian
b596b71130
* patch by Joe care to make fv more 64 Bit save, resolves #37772
...
git-svn-id: trunk@46893 -
2020-09-18 19:28:53 +00:00
svenbarth
bf1eae7bd6
* small formatting adjustments for the sake of consistency
...
git-svn-id: trunk@46892 -
2020-09-18 15:00:17 +00:00
svenbarth
2ff18e48a0
* fix for Mantis #36909 : apply patch by Ryan Joseph so that array constructors can be used for static arrays as well.
...
+ added test
git-svn-id: trunk@46891 -
2020-09-18 15:00:15 +00:00
svenbarth
d3e18ccb5e
* fix for Mantis #37221 : apply adjusted patch by Ondrej Pokorny to allow the use of Copy() on open array parameters (the result will be a dynamic array)
...
+ added test
git-svn-id: trunk@46890 -
2020-09-18 15:00:10 +00:00
michael
f8b5c81b8b
* Avoid double begin/end
...
git-svn-id: trunk@46889 -
2020-09-18 14:30:39 +00:00
Károly Balogh
de180d7656
* m68k: fix index register usage in memory references, when the index is 8 or 16 bit wide and unsigned
...
git-svn-id: trunk@46886 -
2020-09-17 20:51:25 +00:00
florian
60bd9c5ba0
* write a proper error message if types are read/written which are not supported in iso mode, resolves #37763
...
git-svn-id: trunk@46885 -
2020-09-17 19:58:55 +00:00
michael
e2647ea072
* Fix bug ID #0037760
...
git-svn-id: trunk@46884 -
2020-09-17 08:21:15 +00:00
pierre
f316121d53
Add handling of extra parameters, using eval if equal sign is found.
...
+ Add TMP_DIR variable and use it.
* Only remove temp files if verbose is not set.
git-svn-id: trunk@46883 -
2020-09-16 20:44:44 +00:00
pierre
2b023c62c5
Do not set __USE_LARGEFILE64 macro for sparc CPU, as it does not seem to be used for regular linux kernels
...
git-svn-id: trunk@46882 -
2020-09-16 20:40:36 +00:00
pierre
16bdee8fcb
Update revision.inc after commit #46877
...
git-svn-id: trunk@46881 -
2020-09-16 20:37:04 +00:00
florian
9a573173dd
* Aarch64: fix Math.SetExceptionMask for implementations throwing hardware
...
exceptions
git-svn-id: trunk@46880 -
2020-09-16 20:08:11 +00:00
michael
48c86637b4
* Patch from Joe Care to fix bug ID #37758 (wrong brackets for array params)
...
git-svn-id: trunk@46878 -
2020-09-16 19:17:12 +00:00
pierre
660cfc49e8
Add gcc specific options -mabi=32/-mabi=64 for mips CPU
...
git-svn-id: trunk@46877 -
2020-09-16 12:41:44 +00:00
svenbarth
d1cd26592a
* fix for Mantis #37745 : section names where the string offset has more than 7 digits need to be Base64 encoded
...
git-svn-id: trunk@46876 -
2020-09-16 05:16:56 +00:00
svenbarth
fb767dc246
* generate an internal error if the section name should be larger than 8
...
git-svn-id: trunk@46875 -
2020-09-16 05:16:48 +00:00
Tomas Hajny
1a4fdc7313
* fix for broken wince compilation after r46863
...
git-svn-id: trunk@46874 -
2020-09-15 21:36:01 +00:00
florian
1b60060eb1
* Aarch64-linux: debugging define disabled
...
git-svn-id: trunk@46872 -
2020-09-15 21:08:58 +00:00
florian
8057651e8d
* Aarc64: generate code for floating point exception checking which does not destroy
...
the flags so it works also with floating point comparisons
git-svn-id: trunk@46871 -
2020-09-15 21:08:57 +00:00
florian
a22d8a7c38
* Aarch64-linux: return properly from the signal handler
...
* Aarch64-linux: clear FPU exception flags before returning from the signal handler
git-svn-id: trunk@46870 -
2020-09-15 20:35:15 +00:00
florian
f8c1df0852
* ISO mode: handle typed files as text files regarding naming/program parameters, resolves #37415
...
git-svn-id: trunk@46865 -
2020-09-14 20:16:08 +00:00
Tomas Hajny
1eb11a2a29
* fix for problem with commit 46853
...
git-svn-id: trunk@46864 -
2020-09-14 05:30:59 +00:00
Tomas Hajny
288c7e3c9e
* Do_IsDevice treats pipes and sockets the same way as character devices
...
git-svn-id: trunk@46863 -
2020-09-13 22:08:18 +00:00
florian
2c54477807
* patch by J. Gareth Moreton: introduce RemoveInstruction and make as much as possible use of RemoveCurrentP, resolves #37399
...
git-svn-id: trunk@46862 -
2020-09-13 19:35:09 +00:00
florian
7f8f733963
* RiscV32 correctly set operands of div/mod operations, resolves #37743
...
git-svn-id: trunk@46859 -
2020-09-12 21:32:11 +00:00
florian
d7fe9914a7
+ introduce tcgobj.a_loadfpu_reg_intreg
...
+ make use of it in tcgtypeconvnode.second_nothing
+ Xtensa: implementation of a_tcgcpu.a_loadfpu_intreg_reg and tcgcpu.a_loadfpu_reg_intreg
git-svn-id: trunk@46858 -
2020-09-12 21:23:57 +00:00
Jonas Maebe
8616338374
* fixed dataraces in setting the UnitDir/UnitConfigDir fields of TPackage
...
(could be resolved by multiple other packages at the same time)
(mantis #37725 )
* made some "array of const" parameters "const"
* fixed removing the extra variables again in TDictionary.Substitute
git-svn-id: trunk@46857 -
2020-09-12 19:05:36 +00:00
yury
2f21f5ae93
* Reverted r46836, since it does not work as expected for yet unknown reason.
...
git-svn-id: trunk@46856 -
2020-09-12 10:13:00 +00:00
svenbarth
c53422e4ef
* handle reparse points that are neither symlinks nor mount points as normal files
...
git-svn-id: trunk@46855 -
2020-09-12 08:03:10 +00:00
Mattias Gaertner
96cb396d56
pastojs: jsglobalalias: references in init to elements from implementation uses
...
git-svn-id: trunk@46854 -
2020-09-12 07:59:05 +00:00
Tomas Hajny
3c9257300d
* fix for bug #37716 by Andrey 'Croco' Stolyarov
...
git-svn-id: trunk@46853 -
2020-09-11 23:43:32 +00:00
florian
f8b17c410b
+ Xtensa: make use of ABS.S
...
+ extended test for abs(...) with single tests
git-svn-id: trunk@46852 -
2020-09-11 21:51:48 +00:00
svenbarth
d1521e8061
* a classrefdef might also be created with a forwarddef, so handle that correctly
...
git-svn-id: trunk@46850 -
2020-09-11 21:24:59 +00:00
Mattias Gaertner
af7008ee2f
pastojs: jsglobalalias: references to elements from implementation uses
...
git-svn-id: trunk@46847 -
2020-09-11 15:59:20 +00:00
Mattias Gaertner
aed1866db9
fcl-passrc: added TPasResolver.ImplementationUsesUnit
...
git-svn-id: trunk@46846 -
2020-09-11 15:58:41 +00:00
svenbarth
f281e52ea3
* TDictionary<,> is not sorted, so don't test it as such
...
git-svn-id: trunk@46845 -
2020-09-11 15:46:48 +00:00
svenbarth
d8fadbb6d2
* fix test for deletion notifications, because FPC clears the queue from front to back as well
...
git-svn-id: trunk@46844 -
2020-09-11 15:46:46 +00:00
svenbarth
cda338b893
* check whether there are any elements at all for both TStack<> and TQueue<> before removing any
...
git-svn-id: trunk@46843 -
2020-09-11 15:46:43 +00:00
svenbarth
6efd9cc93f
* fix for Mantis #37609 : add support for TryAdd for the TDictionary<,> hierarchy
...
+ added testcase
git-svn-id: trunk@46839 -
2020-09-11 14:52:21 +00:00
yury
b5abefe03e
* Moved spilling of registers which have the initial memory location and are used only once to a stage after coalescing is done. This produces a better code.
...
git-svn-id: trunk@46836 -
2020-09-11 13:32:18 +00:00
yury
c06744b62b
* Include stack location of spilled variables in the assembler output.
...
git-svn-id: trunk@46835 -
2020-09-11 12:36:31 +00:00
florian
8e74a04dc5
* Xtensa: stack size calculation for the call0 abi fixed
...
git-svn-id: trunk@46833 -
2020-09-10 20:53:11 +00:00
florian
ddf26cb3d2
* Xtensa: trgcpu.do_spill_op fixed
...
* cleanup
git-svn-id: trunk@46820 -
2020-09-09 21:08:04 +00:00
florian
27b4f3df60
* Xtensa: taicpu.spilling_get_operation_type improved
...
git-svn-id: trunk@46819 -
2020-09-09 21:08:03 +00:00