Michaël Van Canneyt
ac95c20c5a
* Add examples for syshelpers from Zeljko Avramovic. Fix issue #39541
2022-04-27 11:45:43 +02:00
Michaël Van Canneyt
a2a9db1e06
* Sync stored specifier names
2022-04-27 10:00:36 +02:00
Michaël Van Canneyt
045b938dfa
* Add storage specifier for params
2022-04-26 17:48:03 +02:00
mattias
78fba07415
fcl-web: gitignore
2022-04-26 15:27:36 +02:00
mattias
3c5ad4eadf
fcl-web: updated lpi
2022-04-26 15:27:36 +02:00
mattias
bf2d0853b6
fcl-web: fixed compile tcjwt
2022-04-26 15:27:36 +02:00
mattias
c2e9642b27
fcl-hash: gitignore testhash
2022-04-26 15:27:36 +02:00
marcoonthegit
d309b77b59
* header added remaining files for bug #39481
2022-04-26 14:49:05 +02:00
marcoonthegit
476a4f0f91
* fix headers other packages up to (but not including) fcl-res (which are generated files) bug #39481
2022-04-26 11:17:54 +02:00
marcoonthegit
afcf3e5201
* Added headers (bug #39481 ) for fcl-db.
2022-04-26 11:17:54 +02:00
florian
33eef1f9b1
* AVR: moved MovMov2Movw optimization into pass2 as it might prevent other optimizations
2022-04-25 22:18:37 +02:00
marcoonthegit
c203097ec2
* add overload to getenvironmentvariable so that it is also found when windows is before sysutils in the uses list. bug #39448
2022-04-25 14:07:57 +02:00
florian
9695dba4d9
* AVR: fix TCpuAsmOptimizer.InstructionLoadsFromReg for MOVW
...
* simplify code for MovMov2Movw optimization
2022-04-24 22:42:09 +02:00
florian
49edb0b606
* AVR: fix TAoptBaseCpu.RegModifiedByInstruction, resolves #39623
2022-04-24 22:41:10 +02:00
florian
e87c52d7dc
* otherwise => else
2022-04-24 22:40:07 +02:00
florian
fc6d558727
* compile always with -CX -XX for Z80
2022-04-24 21:38:41 +02:00
J. Gareth "Curious Kit" Moreton
bdd26766ed
* Changed -1 to $FFFFFFFF on DWord writes to suppress range check errors
2022-04-24 16:57:43 +00:00
J. Gareth "Curious Kit" Moreton
f62ffa74dc
* x86: Changed the names of temporary register
...
stores in OptPass1MOV for reasons of clarity,
and other minor optimisations.
2022-04-24 16:42:35 +00:00
J. Gareth "Curious Kit" Moreton
627fb9a25b
* x86: New jump/label tracking in CrossJump optimisations
2022-04-24 16:42:35 +00:00
florian
3fac399683
* more precise test as suggested here: 876ae56158 (note_921869640)
2022-04-24 14:41:06 +02:00
florian
876ae56158
* patch by Rika: fix for ... in iterator for TMap and TSet, resolves #39354
2022-04-23 21:51:26 +02:00
marcoonthegit
616538c251
* Improve Delphi compatibility of TEvent(object) constructors, while keeping also backwards compat by adding default parameters.
2022-04-23 17:56:19 +02:00
Sven/Sarah Barth
74f9523806
* in case of an implicit specialization ensure that the symbol of the generic is indeed considered as used once the final implicit specialization has been picked
...
+ added test
2022-04-23 16:29:13 +02:00
Sven/Sarah Barth
e0e8620ded
* use a single if-condition for both check_hints and addsymref
2022-04-23 16:29:13 +02:00
florian
6556d18bed
* better fix for #39634 which avoids breaking existing code
2022-04-22 22:08:46 +02:00
Sven/Sarah Barth
97c16401f7
+ add test for already fixed #39677
2022-04-22 10:40:58 +02:00
Sven/Sarah Barth
22a4cc66ec
* fix #39675 : consider the symbols for unnamed parameters as used so that there won't be unnecessary hints about them
...
+ added test
2022-04-22 10:40:58 +02:00
Sven/Sarah Barth
76753438ed
* fix #39681 : also handle the result type of a specialized procvar when checking for a possible implicit specialization
...
+ added test
2022-04-22 10:40:58 +02:00
Sven/Sarah Barth
c0fa45dc92
* a function can't be used to implicitely specialize a specialized procedure variable parameter and vice versa
...
+ added test
2022-04-22 10:40:58 +02:00
Sven/Sarah Barth
a5f3040da5
* the index of the generic type parameter is not the same index of the paras list
...
+ added test
2022-04-22 10:40:58 +02:00
Sven/Sarah Barth
66bac7c415
* fix #39679 and fix #39680 : for implicit specializations a parameter used in a call might also inherit in some depth from a specialization used as parameter type
...
+ added tests
2022-04-22 10:40:58 +02:00
Sven/Sarah Barth
4053d59a2c
* fix #39673 : also resolve the dummy symbol in case this isn't a reuse of the current generic's name
...
+ added test
2022-04-22 10:40:58 +02:00
Sven/Sarah Barth
98a942a37e
* move handling of a dummy symbol (mainly either resolving it or generating a suitable error) inside single_type to a nested function as the same code is used multiple times
2022-04-22 10:40:58 +02:00
mattias
ee7cbb61a0
fcl-passrc: resolver: fixed call generic function with anonymous specialize function type
2022-04-21 23:08:19 +02:00
florian
559fcdf736
* forbid cyclic pointer definitions, resolves #39634
2022-04-21 20:03:05 +02:00
Sven/Sarah Barth
b1d9d34665
* only abort due to a missing overload directive if there indeed was any procdef found (due to implicit specializations there might be none), fixes compilation of tests webtbs/tw38310b and webtbs/tw38310c
2022-04-21 18:01:30 +02:00
Bi0T1N
59672a6982
Add support for OpenSSL 3.0
2022-04-21 09:02:31 +00:00
florian
02289d1f5b
+ fold "a shl n1 shl n2" and "a shr n1 shr n2" into "a shl (n1+n2)" and "a shr (n1+n2)", resolves #39629
2022-04-20 22:16:32 +02:00
Ondrej Pokorny
adb264a711
db odbcconn: error messages received through SQLGetDiagRec are ANSI - convert them to CP_ACP
2022-04-20 18:35:03 +00:00
Sven/Sarah Barth
90844c2027
* fix #35261 : apply slightly adjusted changes by Ryan Joseph to implement support for implicit generic function specializations
...
The main adjustments were as follows:
- fixing coding style and identation
- fixing some typos
- using a better name for the property in tcallcandidates which holds the symbols created for anonymous parameter values
2022-04-20 18:59:31 +02:00
florian
fab610a927
* call OptPass1_V_MOVAP for MOVDQA on i386
2022-04-19 22:35:02 +02:00
florian
4808ed63e3
* use MOVDQA instead of MOVQ in spilling_create_store
...
* call OptPass1_V_MOVAP for MOVDQA
2022-04-19 22:35:02 +02:00
Sven/Sarah Barth
862cffa087
* have the unsigned 32-bit overload of IntToHex use the signed 32-bit one to avoid usage of 64-bit arithmetic (and parameter passing) when it can be avoided
2022-04-19 14:24:01 +02:00
Sven/Sarah Barth
d32134dd1a
* fix #39664 : ensure that the 8- and 16-bit signed overloads of IntToHex return the correct number of digits
...
+ added test
2022-04-19 14:24:00 +02:00
florian
ee3b5f5a62
* x86_64: do not use copy_mm in g_concatcopy for 8 byte sized copies
2022-04-18 23:27:34 +02:00
florian
2f1eb9be18
* support R_SUBMMX in spilling_create_store, resolves #39672
2022-04-18 23:22:47 +02:00
marcoonthegit
2457016671
* TStringlist constructor with ownsobjects parameter, Delphi compatible + empty constructor to avoid compiler getting confused
2022-04-18 21:23:10 +02:00
florian
143c2ec232
* powerpc-linux: provide also local __libc_csu_* routines
2022-04-17 21:26:15 +02:00
florian
366d1332d1
* nicer casing
2022-04-16 21:40:33 +02:00
florian
43b4b34395
* disallow offsetof trick for types involving implicit dereferences, resolves #39667 partially
2022-04-14 17:06:15 +02:00