Commit Graph

66675 Commits

Author SHA1 Message Date
Dmytro Bogatskyy
327aac7f24 Add aarch64-iphonesim target 2023-03-27 18:45:00 +00:00
florian
b797bbf5dc * spelling fixed 2023-03-26 15:55:37 +02:00
florian
466561f09f * patch by Rika: Use Index* for pointer lists, resolves #40218 2023-03-25 21:32:29 +01:00
florian
3ad8b4199c * patch by Rika: Shorten cutils.compareansistrings, resolves #40213 2023-03-24 22:50:19 +01:00
Jonas Maebe
12bde4e903 WPO: fix dead code detection, and handle procvars
Extend dead code detection to not only look for the main mangled name, but also
for any aliases before deciding that a routine has been dead-stripped.

Assume objects/classes can also be constructed if the address of one of their
constructors or of the TObject.NewInstance class method has been taken.

Resolves #40204
2023-03-24 21:22:18 +01:00
florian
8cd10d88cc * revert use of DW_AT_external for types as this is not covered by the dwarf standard 2023-03-23 22:44:00 +01:00
florian
4848327300 * write types declared in the interface section with a DW_AT_external tag, should resolve #40210 2023-03-22 21:16:49 +01:00
florian
3e3b96e088 * fix of Erroneous reading of the value of the StackLength variable at program start based on issue report by Sergey Larin, resolves #40211 2023-03-21 22:37:40 +01:00
florian
488c389b9b + support FILEEXISTS(...) in preprocessor expressions, resolves #39527
+ tests
  * tscannerfile.readpreproc sets preproc_pattern correctly for quoted strings
2023-03-20 23:17:09 +01:00
Pierre Muller
4ed8182c75 Fix interactive information log error 2023-03-20 14:51:18 +01:00
marcoonthegit
33071fd179 * Add ptr types for fixed(u)int, fixes #40205 2023-03-20 11:29:47 +01:00
florian
0d3ec87492 * also initalize default helper variables of initialization sections, resolves #40183 2023-03-19 21:19:10 +01:00
Michaël Van Canneyt
86ffe69380 * Better signature for Initialize/Finalize dummies 2023-03-19 15:22:54 +01:00
Michaël Van Canneyt
a35f66a730 * Add support for select query parameters 2023-03-19 15:22:53 +01:00
Michaël Van Canneyt
1da1a67369 * Port in small letters, postgres requires lowercase port setting 2023-03-19 15:22:53 +01:00
Marcus Sackrow
42e202f791 Arosunits: rexx unit added 2023-03-19 11:43:38 +01:00
Jonas Maebe
0ea0b69a30 LLVM: cleaned up some comments 2023-03-18 23:14:25 +01:00
Jonas Maebe
e41bfa0495 LLVM: LLVM 16 support
No changes compared to LLVM 15 that affect us
2023-03-18 23:13:58 +01:00
Jonas Maebe
839849085b LLVM: don't use type names in ctor/dtor arrays
Workaround for https://github.com/llvm/llvm-project/issues/56809
2023-03-18 23:13:03 +01:00
Jonas Maebe
0e46041717 WPO: also consider NewInstance to detect class instancing
Resolves #40200
2023-03-18 21:18:25 +01:00
Rika Ichinose
71863e1b2c IndexWord and IndexDWord for i386 without REP SCAS. 2023-03-18 15:44:03 +00:00
florian
64319dc019 * PopCount takes care only of the bit pattern, so take the uvalue to avoid an internal error, resolves #40190 2023-03-17 22:30:36 +01:00
Rika Ichinose
98fa292b20 SSE2 Index* and Compare* for i386, chosen at runtime. 2023-03-17 20:42:50 +00:00
Sven/Sarah Barth
e774a6275c * change Result of CheckSynchronize to true when at least one method was executed (matches with both FPC and Delphi documentation) 2023-03-17 15:53:25 +01:00
florian
5fe8fbd43a * take care of mips64* when calling gcc for the libgcc path 2023-03-16 22:25:03 +01:00
Mikhail Novosyolov
7d31e25ba6 Fix messages about not found gcc
Code actually looks for the gcc executable inside $PATH, not for libgcc.
fpc works without the libgcc.so devel symlink.
2023-03-16 19:38:23 +03:00
Sven/Sarah Barth
6aab856213 + add test for already fixed #37380 2023-03-15 23:39:59 +01:00
Sven/Sarah Barth
c1ecfc323a * ensure that a procvar (especially a "REFERENCE TO") begins either with FUNCTION or PROCEDURE
+ added test
2023-03-15 23:39:59 +01:00
florian
7909f00c83 * project files updated 2023-03-15 23:01:44 +01:00
florian
2b0317f400 * compilation fixed with -Oodfa 2023-03-14 23:10:32 +01:00
florian
30cb20bccd + riscv32-freertos: first version of TlinkerFreeRTOS.GenerateDefaultLinkerScripts 2023-03-14 22:22:01 +01:00
Michaël Van Canneyt
9acf192141 * Add possibility to read updated data 2023-03-14 22:19:17 +01:00
florian
b30256ad6b * typo fixed 2023-03-12 23:21:01 +01:00
florian
be99dea38b * library list for esp32c3 for IDF 5.0 2023-03-12 23:15:10 +01:00
florian
f0ac02cb2e * patch by Rika: Remove wrong paranoia (and add correct one (and shorten in general (and fix a bug in))) fpc_dynarray_setlength, resolves #40193 2023-03-12 22:15:55 +01:00
Pierre Muller
be1cc68a99 Change libc statx function to weakexternal
Test if statx is nil before call
2023-03-12 16:28:58 +01:00
J. Gareth "Curious Kit" Moreton
3f25438d35 * x86: TEST/Jcc/TEST optimisations can now look beyond the next instruction under -O3 2023-03-11 22:10:35 +00:00
J. Gareth "Curious Kit" Moreton
d372286159 * x86: RegModifiedByInstruction and RegInInstruction
are now more accurate for (I)MUL and (I)DIV.
2023-03-11 22:10:35 +00:00
J. Gareth "Curious Kit" Moreton
3635f7cd6f * x86: Fixed oversight in RegModifiedByInstruction not checking W0, W1 and WU-type flags 2023-03-11 22:10:35 +00:00
J. Gareth "Curious Kit" Moreton
b637a3a022 * x86: Fix to MOV/CMP register deallocation positioning 2023-03-11 22:10:35 +00:00
Sven/Sarah Barth
b2b2606e36 + add function reference suitable overload of TThread.ForceQueue() 2023-03-11 17:08:32 +01:00
florian
73b528d170 * patch by Rika: Remove dead code in DynArrayIndex, resolves #40194 2023-03-11 11:55:41 +01:00
ccrause
f83a8f0f8f Only perform OpCp2Op optimization when the first Op is ANDI and comparison is against 0. 2023-03-09 18:19:20 +02:00
J. Gareth "Curious Kit" Moreton
77f53ebde3 * x86: The LEA/LEA optimisations can now work with a different
destination register and the intermediate register still in
	 use.
2023-03-08 21:54:41 +00:00
J. Gareth "Curious Kit" Moreton
931bda5633 * x86: LeaLea2Lea now handles cases where the second LEA instruction
has a second register in the reference.
2023-03-08 21:54:41 +00:00
florian
66ff7a928c + added debug messages 2023-03-08 22:54:17 +01:00
Michaël Van Canneyt
0e2102e172 * Resource handle is not resource ID 2023-03-08 16:12:59 +01:00
Michaël Van Canneyt
c3c3bd3471 * Fix windows compilation 2023-03-08 10:09:58 +01:00
Michaël Van Canneyt
8dcabc5796 * Fix default classname property 2023-03-07 13:48:40 +01:00
Michaël Van Canneyt
f9a96e5e63 * Avoid useless exceptions by checking existence of resource 2023-03-07 11:43:39 +01:00