florian
1b6982107f
* TDebugInfoDwarf3.appenddef_object should not write an extra finish_entry for objects and C++ classes
2022-10-10 22:46:25 +02:00
florian
3e5f6d3228
* use AllocRegbetween in TARMAsmOptimizer.RemoveSuperfluousMove, resolves #39921
2022-10-09 21:32:22 +02:00
Sven/Sarah Barth
02aac653d2
* optimize shortstring concatenations if they're on the right side of an assignment to directly use the left side instead of a temporary
2022-10-09 13:56:52 +02:00
Sven/Sarah Barth
32261a0f6d
* fix copy/paste typo in comments
2022-10-09 13:56:52 +02:00
Michaël Van Canneyt
f2580efc15
* Fix memleak in case of error.
2022-10-09 12:42:57 +02:00
Jonas Maebe
d12bf094ab
cs_opt_consts: disable when non-local gotos are active
...
This optimisation can insert code after the call to fpc_setjmp, resulting in
it not getting executed after a longjmp. Fixes tmacnonlocalgoto on AArch64
with -O2 or higher.
2022-10-08 22:27:23 +02:00
florian
5b73fc4d0e
* marked parameters in ucomplex with const
2022-10-08 20:49:33 +02:00
Sven/Sarah Barth
188cac3bc6
* enable OpenStrings by default in mode Delphi
...
+ added test
2022-10-08 13:52:34 +02:00
Sven/Sarah Barth
920e1c8d19
* change PPU version as the change regarding $P/$OpenStrings affects the token buffers of generics (which contains the current settings)
2022-10-08 13:52:33 +02:00
Sven/Sarah Barth
6cbbf9c52a
* $P/$OpenStrings is supposed to be a local switch, so change that accordingly
...
+ added tests
2022-10-08 13:52:32 +02:00
florian
b934517871
* patch by Rika: Optimize some compiler/CFileUtl.pas functions for returning unchanged strings, resolves #39882
2022-10-07 22:32:59 +02:00
florian
9f293df425
* export DynArrayAssign, resolves #39897
2022-10-06 22:56:38 +02:00
florian
ad7cc0e69d
* handle <dyn.array>+[] (and swapped) correctly, resolves #39919
2022-10-05 22:48:21 +02:00
marcoonthegit
2291100bbd
* fix and test for bug #39884 solving daysbetween when zero date is crossed.
2022-10-05 20:46:18 +02:00
mattias
569f83e33d
fcl-web: TWSServerConnection.HandshakeResponseSent propagates result
2022-10-05 10:49:31 +02:00
florian
d8cd4d283d
* removed wrong program name
2022-10-04 22:02:59 +02:00
mattias
01c982ad70
fcl-passrc: omit hint for not used anonymous type
2022-10-04 20:55:49 +02:00
mattias
a2182cb7a5
fcl-passrc: omit hint for not used anonymous type
2022-10-04 20:42:02 +02:00
Michaël Van Canneyt
eb8c322a53
* Use aValue instead of Value. Fix issue #39938
2022-10-04 17:53:17 +02:00
Michaël Van Canneyt
e736011c37
* Fix from Bart for issue #39938
2022-10-04 11:14:05 +02:00
florian
f8848dd185
* fix for commit a91e5478
, mixed localalignmax and constalignmax
2022-10-03 22:03:55 +02:00
florian
a91e547832
* set the maximum alignment values for constants and variables to 64 on aarch64-linux
2022-10-03 14:40:57 +02:00
florian
2396b36c21
* nil =/<> dyn. array is a valid expression, so isbinaryoperatoroverloadable needs to take care of it, resolves #39933
2022-10-03 10:26:09 +02:00
florian
9a760db573
* nicer error message
2022-10-02 20:47:07 +02:00
florian
7dc2a61788
* comment for git fixed
2022-10-01 19:04:09 +02:00
2b63c02bc5
Incorrect function name imported from comctl32.dll
- for LoadIconWithScaleDown
function.
2022-10-01 14:17:49 +00:00
florian
0a9e1ede72
* improve test for Generics.Collections.TArrayHelper.QSort, resolves #39932
2022-10-01 15:37:52 +02:00
florian
51a3030b6a
+ test for heapsort fallback to Generics.Collections.TArrayHelper.Sort
2022-10-01 12:11:30 +02:00
Rika Ichinose
3fff2aca6d
Add heapsort fallback to Generics.Collections.TArrayHelper.Sort.
2022-10-01 09:34:28 +00:00
florian
9e9b38d0cf
* cfi for avr needs 32 bit pc begin and range
2022-09-29 23:06:03 +02:00
florian
1fc54dd8bb
* improve dwarf cfi on avr
2022-09-28 22:47:06 +02:00
Michaël Van Canneyt
8b3c9e0970
* Fix use of classname
2022-09-28 17:53:18 +02:00
florian
123f196d5d
* small correction to linker script
2022-09-27 22:10:56 +02:00
florian
88cf633b97
* use append_object_struct also for dwarf-3 when creating dwarf debug info for objects, resolves #39920
2022-09-26 21:28:39 +02:00
florian
9375257365
* look ahead for ShlOp2Op optimization
2022-09-25 20:43:57 +02:00
florian
1a66cde35b
* apply ShlOp2Shl optimization also to floating point operations
2022-09-24 22:48:41 +02:00
florian
444fe092da
* propertly check equality with the for-counter when propagating constants, resolves #39915
2022-09-24 20:39:43 +02:00
Henrique Gottardi Werlang
2bf377744a
Changed the interface creation to keep the generic name of an interface.
2022-09-23 23:14:17 +00:00
florian
dbbb91705f
* improved fix for #39912
2022-09-23 21:56:24 +02:00
Sven/Sarah Barth
b11366c95b
* when generating the call to the extracted function reference inside the nested routine we need to use the parameters of the nested function and not those of the newly created procdef (fixes some of the test case failures with -O2)
2022-09-23 15:50:19 +02:00
Sven/Sarah Barth
965bba5ab4
* cleanup captured symbols when moving them from the nested function to the new method
2022-09-23 14:44:42 +02:00
florian
960c154f48
* properly named
2022-09-22 23:00:34 +02:00
Jonas Maebe
efbf5eaa01
Fix loading of ObjC protocol type after c8fee69345
...
That type lives in the objcbase unit, not in the system unit
Resolves #39914
2022-09-21 21:27:04 +02:00
Pierre Muller
5913434ba9
Add DISABLE_SYSTEMINLINE check to be able to avoid setting SYSTEMINLINE macro
2022-09-20 22:39:28 +01:00
Pierre Muller
b8920670f4
Change is_macro to return true for A_JAL if in pic mode
2022-09-20 22:33:14 +01:00
Pierre Muller
2187bfaddd
Add name of unit for return type if not from current module in tprocdef.customprocname
2022-09-20 22:53:37 +02:00
Michaël Van Canneyt
9c7d1515bf
* Prevent codetools from messing up types again
2022-09-20 17:06:01 +02:00
Michaël Van Canneyt
2cbc6bb674
* Better solution for last commit, correct sockets definitions in implementation
2022-09-20 17:03:45 +02:00
Michaël Van Canneyt
dcc0b706bc
* Fix problem reported by Pierre
2022-09-20 16:53:39 +02:00
Sven/Sarah Barth
4f9acc10f0
* fix #39898 : when a loadnode is captured ensure that its nf_load_procvar flag is applied to the subscript node as well
...
+ added tests
2022-09-20 00:01:49 +02:00