Commit Graph

63152 Commits

Author SHA1 Message Date
Michaël Van Canneyt
0053cec880 * Export SetPas2JSGetFileSrcAttrCallBack 2021-09-14 09:08:31 +02:00
florian
5065e4ba50 * fix code for ARM FPA, just in case ... 2021-09-13 22:55:44 +02:00
florian
9bd785c06b * fix handling of -0.0 in sse/avx code, resolves #39357 2021-09-13 22:47:26 +02:00
florian
5e9eb673f8 * x86: only add mm capable consts to register candidate list, this is better
than checking when they are assigned
2021-09-12 20:31:45 +02:00
florian
5762e687a3 * (modified) patch by J. Gareth Moreton: ARM/AArch64 Some short-range LDR/STR optimisations, last part of #38841 2021-09-12 20:11:14 +02:00
florian
1e072aef31 + for loop optimizations can be controller by a switch (-Oo(no)forloop) 2021-09-12 10:54:46 +02:00
Yuriy Sydorov
c30ce7108e * Do not run the tzlib1 test. It is not intended for this. 2021-09-11 20:40:36 +03:00
Yuriy Sydorov
80c63fae30 * Explicitly specify DefaultRTLFileSystemCodePage for the test in order
to be independent from the current system code page.
2021-09-11 20:35:50 +03:00
Yuriy Sydorov
64812bdc60 * Modified the test to run properly on non-UTF8 systems. 2021-09-11 20:11:40 +03:00
Yuriy Sydorov
daa05f19cb * Prevent a crash of the tw2423 test on some versions of Windows. 2021-09-11 19:54:02 +03:00
Yuriy Sydorov
fca357e898 * Disabled running of the sharemem test since fpcmemdll.dll is never built. 2021-09-11 19:54:02 +03:00
Yuriy Sydorov
0567572fae * Weak externals from DLL are nor supported on Windows. 2021-09-11 19:54:02 +03:00
Michaël Van Canneyt
c27823568a * libimports added 2021-09-11 18:01:42 +02:00
Yuriy Sydorov
bcaa2c9758 * Explicitly specify CP1252 for registry tests which depends on this CP. 2021-09-11 18:10:52 +03:00
florian
c7c8e2e008 * nicer spelling 2021-09-11 16:24:52 +02:00
Yuriy Sydorov
9653406ac6 * Updated json tests to run properly when the default code is non-UTF8. 2021-09-11 16:35:36 +03:00
Michaël Van Canneyt
7e158b6c9b * Forgot to commit 2021-09-11 15:29:52 +02:00
Michaël Van Canneyt
2781be118f * Add linklib, add some formatting 2021-09-11 15:23:25 +02:00
Michaël Van Canneyt
a4821b1d0c * Additional module platform
(cherry picked from commit 664de8653dc56b13cddac2cd7024697756ae422d)
2021-09-11 14:38:52 +02:00
Pierre Muller
6b7df6d22e Add 'treated as Error:' to compiler messages 2021-09-10 21:21:32 +00:00
Yuriy Sydorov
b4df9dbe1d * Prevent spilling of spill-helper registers which contain the value of a
previously spilled register. These helper registers must never be spilled.
  This fixes failures of the register allocator in rare corner cases.
2021-09-10 18:06:12 +03:00
florian
37bb10e893 * make ShlOp2Op optimization more fool proof 2021-09-09 23:11:41 +02:00
mattias
bad14c5dbd pas2js: httpcompiler: fixed reading values fomr config file 2021-09-09 16:09:52 +02:00
Yuriy Sydorov
61cf121533 * Use a register alias while handling reg deallocs in trgobj.instr_spill_register()
to be in sync with commit b96057ad.
2021-09-09 16:58:16 +03:00
Nikolay Nikolov
ba9a8ab069 + added thlcgwasm.a_load_subsetref_stack, not implemented yet 2021-09-09 14:11:20 +03:00
Ondrej Pokorny
f4cc2447a2 * fix memory leak in TFPCustomSimpleThreadPool.TThreadPoolList 2021-09-08 21:07:40 +00:00
Ondrej Pokorny
ef0aea8ca2 * fix memory leak in TFPPooledConnectionHandler 2021-09-08 21:07:40 +00:00
Ondrej Pokorny
008214ca15 fphttpclient: remove OnIdle and add protected methods so that the feature can be added in a descendant 2021-09-08 21:07:40 +00:00
Florian Klämpfl
67b08734cf * to avoid that -Xg causes a failure during comparing ppc3.exe and ppc386.exe on windows, during the last compiler compilation step, the
same executable name is used
2021-09-08 21:06:30 +02:00
Michaël Van Canneyt
25450a99ed * Fix issue #39350 : strip extension dot in windows loadknowntypes 2021-09-08 23:01:00 +02:00
mattias
679cfab709 pastojs: added hook GetFileSrcAttr to skip generating srcmap of some files 2021-09-08 18:31:12 +02:00
mattias
7e57e4514a pastojs: added TPas2jsMapper.SaveJSToStream 2021-09-08 18:25:50 +02:00
florian
9a1ccd2a16 * x86: ShlOp2Op optimization 2021-09-07 23:05:34 +02:00
Sven Barth
7c6f3810e3 * move freeing of the event log to a separate, virtual method so that this can be changed depending on the needs of TCustomWebApplication.CreateEventLog (e.g. when using a TCustomWebApplication descendant together with a TDaemonApplication) 2021-09-07 22:59:27 +02:00
Sven Barth
86d4820760 + implement support for terminating a HTTPSys web service handler that's blocking inside WaitForRequest 2021-09-07 22:59:27 +02:00
Sven Barth
2650049b2c * initialize Result variable of THTTPSysHandler.WaitForRequest 2021-09-07 22:59:27 +02:00
Pierre Muller
4acf8d36b8 Add symbol_order*.fpc files to .gitignore 2021-09-07 20:19:09 +00:00
Yuriy Sydorov
6007ceb908 * Patch by J. Gareth "Kit" Moreton (issue #39343). x86 peephole
optimization of conditions which are always true or false.
2021-09-07 20:09:47 +03:00
Yuriy Sydorov
940ac567a5 * Patch by J. Gareth "Kit" Moreton (issue #39343). Added missing allocation
of flags in tx86typeconvnode.second_int_to_bool and in generic
  tcgtypeconvnode.second_int_to_bool. This fixes random failures of the
  tcnvint1 test and some other tests when compiled with -O2.
2021-09-07 19:50:28 +03:00
Michaël Van Canneyt
06b659f787 * Fix issue #39342, after exception in doapplyupdates, res is not valid 2021-09-07 13:57:57 +02:00
Nikolay Nikolov
239557237f * regenerated makefiles with the latest fpcmake from trunk 2021-09-07 14:32:06 +03:00
Pierre Muller
810de9eaca Try to avoid infinite loop for revision target on svn repo 2021-09-06 23:31:20 +02:00
Pierre Muller
ae8972083f Use pascal hunk for diff output for pascal source files 2021-09-06 23:31:20 +02:00
Michaël Van Canneyt
dcf64d8fee * Export statement 2021-09-06 23:28:00 +02:00
florian
f8c92914c2 * indention fixed 2021-09-06 23:05:35 +02:00
Pierre Muller
33ad038bbb * Avoid some wrong error messages after initial error
On x86_64-openbsd, cycling with -O3 option fails due to
a wrong warning about uninitialized zeros variable in
compilation of ogbase unit
ogbase.pas(2310,41) Warning: Local variable "zeros" does not seem to be initialized
ogbase.pas(2318,39) Error: Can't evaluate constant expression

The second message is due to the fact that simplify is not
called inside nadd unit if errorcount is non-zero.
  By replacing errorcount<>0 by not codegenerror,
this message disappears.
2021-09-06 19:23:56 +00:00
Yuriy Sydorov
16d17de1ff + Added a test for a bug fixed in b96057ad. 2021-09-06 19:01:34 +03:00
Yuriy Sydorov
b43ee41090 * If in a move instruction "MOV reg1,reg2" one of the registers must be
spilled, but reg1 and reg2 are coalesced, then this is a no-op
  instruction and no spilling is needed.
2021-09-06 18:57:41 +03:00
Yuriy Sydorov
213a0a704a * Added trgobj.remove_ai(), call it instead of code duplication.
No functional changes.
2021-09-06 18:49:33 +03:00
Yuriy Sydorov
b96057adeb * Remove register allocations of coalesced registers if the alias
register is spilled.
2021-09-06 18:37:45 +03:00