J. Gareth "Curious Kit" Moreton
55d5b11deb
Converted tabs to spaces in toverflow.inc for consistency
2021-11-18 20:31:49 +00:00
J. Gareth "Curious Kit" Moreton
29ea731b2f
Added two new overflow tests
2021-11-17 20:18:57 +00:00
florian
03ce23246f
* patch by Don Siders: Fixes spelling, grammar errors in source and compiler messages, resolves #39434
2021-11-10 19:16:14 +01:00
florian
2ee6a81cff
* extended test to cover last commit
2021-10-20 22:33:53 +02:00
florian
7e73e0dd23
+ support reading of .p2align with op code and/or max. bytes in the gas assembler reader
...
+ test
2021-10-18 22:12:27 +02:00
Nikolay Nikolov
44f862fb4e
+ added test for SysUtils.GetLocalTime
2021-10-13 03:49:54 +03:00
florian
bff09e8e9e
+ CPU units: check for SHA support
2021-10-09 16:23:11 +02:00
Jonas Maebe
3fb0fab410
Fix bitpacking 62/63 bit fields on 64 bit targets
...
As reported on the lazarus forum:
* https://forum.lazarus.freepascal.org/index.php?topic=56341.new
* https://forum.lazarus.freepascal.org/index.php/topic,56339.msg418608/topicseen.html
Also optimized nextpowerof2 in the compiler
2021-10-03 14:00:50 +02:00
Nikolay Nikolov
799cd957e6
+ added WASI .o files for the tests for linking with C
2021-10-03 04:11:51 +03:00
Nikolay Nikolov
9aefda1e6a
* bug fix in test taddbool.pp - it was testing longbool conversion to boolean
...
twice, and not testing wordbool conversion to boolean at all
2021-10-01 04:56:36 +03: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
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
Yuriy Sydorov
bcaa2c9758
* Explicitly specify CP1252 for registry tests which depends on this CP.
2021-09-11 18:10:52 +03:00
Yuriy Sydorov
fc3685819c
+ Added a test for the TP-style INLINE() statement.
2021-08-16 16:12:47 +03:00
Nikolay Nikolov
e2f6732751
Merge remote-tracking branch 'origin/main' into unicodekvm
2021-08-08 22:45:27 +03:00
michael
0e3d95b589
* Restored disappeared test
...
git-svn-id: trunk@49631 -
2021-07-22 05:53:06 +00:00
michael
4fac31d1c7
* Patch by Werner Pamler to improve ISO8601 to datetime conversion
...
git-svn-id: trunk@49624 -
2021-07-21 15:59:37 +00:00
michael
573917706f
* Patch from Laco to fix issue #39261
...
git-svn-id: trunk@49623 -
2021-07-21 15:08:53 +00:00
michael
9394158fe2
* Test for fix of issue #38489
...
git-svn-id: trunk@49605 -
2021-07-13 08:16:14 +00:00
nickysn
c24e84e463
* synchronized with trunk
...
git-svn-id: branches/unicodekvm@49511 -
2021-06-18 10:14:13 +00:00
pierre
ce2984e16a
Fix compilation of tiso8601 test by adding -Mobjfpc option
...
git-svn-id: trunk@49509 -
2021-06-16 21:04:25 +00:00
svenbarth
e41c1ec118
* fix test so that it will work correctly on non-Windows as well
...
git-svn-id: trunk@49488 -
2021-06-06 20:51:46 +00:00
svenbarth
2b3edb2c53
* in the default exception handler add the captured exception to the exception object stack as well
...
+ added test (needs to work with any exception handling mechanism; currently tested with SetJmp/LongJmp, SEH 32-bit and SEH 64-bit based exception handling)
git-svn-id: trunk@49486 -
2021-06-06 17:06:24 +00:00
michael
b3ced4de97
* Test from werner pamler for issue #38968
...
git-svn-id: trunk@49485 -
2021-06-06 12:49:37 +00:00
svenbarth
e89e87372e
+ add a test for Variant dispatch and the generated call description format (this is for the previous three fixes)
...
git-svn-id: trunk@49481 -
2021-06-05 17:43:57 +00:00
nickysn
3c2c578386
* synchronized with trunk
...
git-svn-id: branches/unicodekvm@49412 -
2021-05-29 21:46:27 +00:00
florian
bc21634b46
* AVR: made avr_des intrinsic more usefull
...
git-svn-id: trunk@49362 -
2021-05-13 18:59:28 +00:00
florian
022a9b210f
+ AVR: avr_des intrinsic
...
git-svn-id: trunk@49353 -
2021-05-13 09:26:53 +00:00
nickysn
cff7bed8bd
* synchronized with trunk
...
git-svn-id: branches/unicodekvm@49342 -
2021-05-07 01:03:26 +00:00
Tomas Hajny
a652506254
* fix for wrongly chosen conditional define name
...
git-svn-id: trunk@49335 -
2021-05-03 22:56:59 +00:00
Tomas Hajny
cb2c0ae594
* fix for wrong nested comments resulting in wrong results under *nix, etc., with redirected output
...
git-svn-id: trunk@49334 -
2021-05-03 22:16:36 +00:00
Tomas Hajny
0d37e0e0f8
+ added a test for Get/SetTextAutoFlush feature
...
git-svn-id: trunk@49325 -
2021-05-02 15:03:36 +00:00
florian
dc13516dee
+ patch by J. Gareth Moreton: improved tests for constant divisions including benchmark,
...
second part of #38806
git-svn-id: trunk@49291 -
2021-04-29 20:00:36 +00:00
nickysn
8f2d5716f6
* synchronized with trunk
...
git-svn-id: branches/unicodekvm@49224 -
2021-04-18 01:58:34 +00:00
florian
695665c393
+ optimized multiplication for "symmetric" bit patterns on arm
...
git-svn-id: trunk@49199 -
2021-04-13 21:16:56 +00:00
florian
f1e748512b
* fix test for case sensitive and case preserving file systems
...
git-svn-id: trunk@49183 -
2021-04-11 17:30:22 +00:00
florian
c1f85ac3a1
+ initial implementation of path dependent IsFileNameCaseSensitive/IsFileNameCasePreserving functions for darwin
...
git-svn-id: trunk@49164 -
2021-04-10 13:29:59 +00:00
nickysn
7371e7c105
* synchronized with trunk
...
git-svn-id: branches/unicodekvm@49078 -
2021-03-29 02:38:13 +00:00
svenbarth
ca7c775e36
* fix for Mantis #38642 : for enumerations with jumps Delphi behaves as follows:
...
- GetTypeKind returns tkEnumeration (FPC previously generated a compile error here)
- GetTypeInfo on a generic parameters returns Nil for such types (FPC previously generated a compile error here)
- GetTypeInfo otherwise generates a compile error (as before)
git-svn-id: trunk@49064 -
2021-03-27 09:35:07 +00:00
nickysn
066bb3c454
* synchronized with trunk
...
git-svn-id: branches/unicodekvm@49018 -
2021-03-20 04:39:38 +00:00
ondrej
2a61397d37
unix: fix timezone info for timers after the last transition
...
git-svn-id: trunk@49005 -
2021-03-19 08:11:10 +00:00
nickysn
62965b777b
* synchronized with trunk
...
git-svn-id: branches/unicodekvm@48974 -
2021-03-14 21:43:24 +00:00
florian
649bfecf62
+ compiled C object files, generated by riscv32-unknown-linux-gnu-gcc (GCC) 10.2.0 with -O3
...
git-svn-id: trunk@48973 -
2021-03-14 21:34:51 +00:00
michael
f5389cbc28
* test for bin2hex
...
git-svn-id: trunk@48968 -
2021-03-14 15:31:52 +00:00
florian
3c43677952
* re-build c objects with a fixed C compiler regarding floating point parameter passing: riscv64-linux-gnu-gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 with -O3
...
git-svn-id: trunk@48939 -
2021-03-11 21:55:41 +00:00
nickysn
44fb35c5c6
* synchronized with trunk
...
git-svn-id: branches/unicodekvm@48905 -
2021-03-08 00:52:06 +00:00
florian
6166084f08
+ new test
...
git-svn-id: trunk@48895 -
2021-03-07 09:16:10 +00:00
pierre
f620f61d3b
Update to objects compiled using GNU gcc 5.5.0 for sparc-solaris
...
git-svn-id: trunk@48891 -
2021-03-06 22:06:23 +00:00
florian
ba0f08018f
* fix test so it really uses random values for the boolean, thanks Jonas for the hint!
...
git-svn-id: trunk@48887 -
2021-03-06 15:16:29 +00:00
florian
62bd0068b6
* do not apply the (a and b) or (c and not(b)) into c xor ((c xor a) and b) optimziation if short boolean evaluation is used, should resolve #38576
...
* improved test
git-svn-id: trunk@48884 -
2021-03-06 14:48:15 +00:00
nickysn
685d608f82
* synchronized with trunk
...
git-svn-id: branches/unicodekvm@48847 -
2021-03-01 13:24:49 +00:00
florian
e0a1bc6675
+ optimize (a and b) or (c and not(b)) into c xor ((c xor a) and b)
...
+ test
git-svn-id: trunk@48841 -
2021-02-28 18:20:46 +00:00
pierre
58171b4308
Extend list of CPUs defining slowcpu conditional in tmt1 and tw8177 sources
...
git-svn-id: trunk@48816 -
2021-02-26 23:39:14 +00:00
nickysn
cd8b0036d4
* synchronized with trunk
...
git-svn-id: branches/unicodekvm@48756 -
2021-02-21 17:48:14 +00:00
florian
17a3ca31ff
* fix by avk for issue #38513
...
+ test
git-svn-id: trunk@48752 -
2021-02-21 13:54:25 +00:00
nickysn
3799569da0
* synchronized with trunk
...
git-svn-id: branches/unicodekvm@48655 -
2021-02-12 01:55:05 +00:00
nickysn
0470ca8fe3
+ added simple test for the TRawByteStringCollection object type
...
git-svn-id: branches/unicodekvm@48638 -
2021-02-10 21:59:30 +00:00
michael
47be45830c
* Fix issue ID #38462
...
git-svn-id: trunk@48580 -
2021-02-10 11:00:22 +00:00
nickysn
56f10ae916
* synchronized with trunk
...
git-svn-id: branches/unicodekvm@48529 -
2021-02-08 11:13:57 +00:00
florian
3e453f92fc
* statx based Sysutils.FileGetDate with handle fixed
...
+ test
git-svn-id: trunk@48520 -
2021-02-07 17:59:28 +00:00
florian
b08717fef6
* make statx based Sysutils.FileAge working with relative pathes
...
+ test
git-svn-id: trunk@48519 -
2021-02-07 17:41:27 +00:00
nickysn
c15f12ef0d
* synchronized with trunk
...
git-svn-id: branches/unicodekvm@48481 -
2021-02-01 01:13:58 +00:00
florian
b4a1c27c58
* renamed new syscall wrapper in linux to be consist with the others
...
git-svn-id: trunk@48479 -
2021-01-31 22:25:18 +00:00
svenbarth
d13838ac0b
+ add a test which ensures that a "const TVarData" parameter is passed as a reference.
...
This is required for Delphi compatibility as implementers of IVarInvokable or
inheritors of TInvokableVariantType need to modify the variant data by using
a pointer to the TVarData because it's passed as const and thus not modifyable
by itself.
This behavior is documented in so far as the C++ builder documentation shows
that the same parameter is implemented as "const&".
git-svn-id: trunk@48478 -
2021-01-31 21:23:29 +00:00
florian
b8ab06aae7
+ futimens syscall
...
* make use of futimens syscall in sysutils unit
+ tests
git-svn-id: trunk@48472 -
2021-01-31 17:12:39 +00:00
florian
0c77536f11
+ linux.fputimensat which properly uses the _tim64 version if needed and available
...
+ test
git-svn-id: trunk@48470 -
2021-01-31 16:24:47 +00:00
florian
33cd5778cd
* properly check for linux version supporting statx
...
git-svn-id: trunk@48469 -
2021-01-31 16:23:23 +00:00
florian
f39f8d0f1a
* linux: make use of statx in Sysutils.FileAge if available
...
git-svn-id: trunk@48457 -
2021-01-30 18:47:27 +00:00
nickysn
20a6e682a9
* synchronized with trunk
...
git-svn-id: branches/unicodekvm@48450 -
2021-01-29 03:03:38 +00:00
florian
402876bc1f
* let theapthread wait unneededly less so the total run time is shorter
...
git-svn-id: trunk@48388 -
2021-01-24 13:26:49 +00:00
yury
7ffa963127
* Moved the tregistry2 test back to packages and added more test OS targets.
...
git-svn-id: trunk@48383 -
2021-01-24 11:05:34 +00:00
yury
d83e1a33ca
* tregistry2 test: Use cwstring on unices. Perform the test only on Windows and Linux.
...
git-svn-id: trunk@48263 -
2021-01-21 10:42:07 +00:00
yury
fe09efbd0e
* Removed usage the Windows unit from the tregistry2 test.
...
git-svn-id: trunk@48226 -
2021-01-20 09:46:44 +00:00
yury
9fd0f94d7c
* tregistry2 test: Delete reg.xml and the app config dir.
...
git-svn-id: trunk@48205 -
2021-01-19 17:10:55 +00:00
yury
a29bfe5505
* Moved the tregistry2.pp test from packages to tests in order it to be run by daily test runs. tregistry2 has been failing for years and nobody has noticed this.
...
git-svn-id: trunk@48204 -
2021-01-19 16:52:43 +00:00
pierre
f2568e37e4
Add testing for single float type in trndmode.pp
...
git-svn-id: trunk@48020 -
2021-01-03 22:03:27 +00:00
pierre
57861c934d
Check also that SetRoundMode returns correctly previous rounding mode
...
git-svn-id: trunk@48019 -
2021-01-03 21:55:35 +00:00
pierre
3362abb30c
* Set softfloat_rounding_mode indise SetRoundMode function for all CPUs.
...
* SetRoundMode returns previous rounding mode value for all CPUs.
git-svn-id: trunk@48018 -
2021-01-03 21:44:18 +00:00
svenbarth
c96029ebd5
* Delphi does not allow a generic method to be overloaded by a non generic type of the same name (unlike for generic types and non generic routines); this is probably done to simplify the implementation of implicit specializations of generic methods so we do this as well. For this we change the dummy symbol for generic routines from a typesym to a procsym
...
+ added tests
Note: what Delphi /does/ allow however is to overload a generic routine with a generic type... go figure. :/ We currently don't allow that
git-svn-id: trunk@48002 -
2021-01-02 23:23:39 +00:00
florian
6866b07266
* simplified test after r47892
...
git-svn-id: trunk@47893 -
2020-12-29 18:26:20 +00:00
Jonas Maebe
6d03f2807a
* made exit codes unique
...
git-svn-id: trunk@47860 -
2020-12-27 13:19:05 +00:00
Jonas Maebe
b359080f42
* fixed round(currency) so it takes the rounding mode into account on
...
platforms where currency is "type int64"
* inline trunc(currency), trunc(comp) and round(comp) on platforms where
currency and comp are "type int64"
git-svn-id: trunk@47859 -
2020-12-27 13:19:02 +00:00
pierre
8b34e11da3
Add code to test Linux version, try statx syscall only if version is >= to 4.11
...
git-svn-id: trunk@47850 -
2020-12-26 17:08:56 +00:00
florian
6db164c993
* min/max optimization needs to check both operands of the if condition, even if no else-statement is passed, resolves #38249
...
git-svn-id: trunk@47843 -
2020-12-23 22:41:37 +00:00
florian
4f05523db9
+ RTMSupport function
...
+ if available use RTM to support InterlockedCompareExchange128 on i386
git-svn-id: trunk@47833 -
2020-12-22 22:00:08 +00:00
florian
b8fc193b0c
* extended test
...
git-svn-id: trunk@47818 -
2020-12-19 12:58:35 +00:00
florian
1d92cc43bb
* fpc_ln_real raises an exception for invalid operands if they exception is not masked
...
git-svn-id: trunk@47813 -
2020-12-18 22:36:17 +00:00
svenbarth
d29f95d9e1
* apply patch by Blaise.ru to allow specializations for the result type of function and method variables
...
+ added tests
git-svn-id: trunk@47795 -
2020-12-16 21:43:30 +00:00
florian
88a0d4d64b
+ optimize if x>a then x:=a; into min(a,x);, similiar for max
...
* test extended
git-svn-id: trunk@47767 -
2020-12-13 09:52:44 +00:00
yury
67284c7452
+ Added a test for proper setting of fc_no_direct_exit in flowcontrol.
...
git-svn-id: trunk@47755 -
2020-12-11 14:17:18 +00:00
florian
3707cb4b1e
* handle min/max properly if it is applied to NaNs
...
* test extended
git-svn-id: trunk@47729 -
2020-12-08 20:41:58 +00:00
florian
a16b34d951
* test for min/max intrinsics
...
git-svn-id: trunk@47697 -
2020-12-06 14:19:00 +00:00
svenbarth
69e6f3dcbb
* if a call inside a generic's code that involves generic type arguments can't be clearly determined then postpone it till specialization in the hope that the type will be clear then
...
+ added test
git-svn-id: trunk@47686 -
2020-12-04 22:07:34 +00:00
svenbarth
3597696e98
* fix for Mantis #38145 : allow overloading of assignment operators that return ShortStrings with a specific size
...
+ added tests
The following rules for using these operator overloads as *implicit* overloads apply (Delphi compatible):
- if a found assignment operator returns a default ShortString then that is used
- if only one assignment operator to a String[x] is found then that is used
- otherwise the assignment is not possible
The explicit assignment checks for an exact match (and falls back for an implicit assignment). This is not entirely Delphi compatible as Delphi seems to favor the first found symbol in that case, but sometimes also not... :/
git-svn-id: trunk@47634 -
2020-11-29 15:47:52 +00:00
svenbarth
82957ec5a3
* Fix for Mantis #38122 : when a deref node is passed as a Self parameter for a type helper (which is a var parameter) we need to pass the non-derefentiated value so that the data it points to can be modified by the helper's method (this is Delphi compatible)
...
+ added tests
git-svn-id: trunk@47625 -
2020-11-28 18:32:24 +00:00
florian
9dcf85a8ef
+ Xtensa: FMA support
...
git-svn-id: trunk@47563 -
2020-11-24 20:59:47 +00:00
svenbarth
c20cbcc28f
+ add test to check whether ComObj correctly dispatches Ansi-, Unicode- and WideString arguments
...
git-svn-id: trunk@47519 -
2020-11-21 20:17:14 +00:00
ondrej
be4c907117
* read int64 transition table from linux timezone files if available
...
git-svn-id: trunk@47324 -
2020-11-05 17:10:12 +00:00
ondrej
691fb2c9fe
* add unix timezone test
...
git-svn-id: trunk@47322 -
2020-11-05 12:53:51 +00:00
ondrej
9b5d2322b6
Fix tepoch1 test
...
git-svn-id: trunk@47297 -
2020-11-03 20:15:04 +00:00
yury
438bba76b9
+ Added a test for: When {$mode delphi} and {$modeswitch nestedprocvars} it is allowed to assign a nested routine which does not use parentfp to a regular procvar. And then call this procvar without any side effects.
...
git-svn-id: trunk@47209 -
2020-10-26 17:53:40 +00:00
Jonas Maebe
9376f5a43a
* AArch64: added SIMD instructions (only plain ARMv8-A for now)
...
o added AArch64 regset parsing support in assembler reader, means that "{"
no longer starts comments there (like in the ARM assembler reader)
o added AArch64 indexed SIMD register support and removed old cg hacks
that worked around its absence
git-svn-id: trunk@47116 -
2020-10-15 20:29:36 +00:00
florian
00c6d530b5
* test needs delphi mode apparently
...
git-svn-id: trunk@47075 -
2020-10-10 13:50:35 +00:00
michael
be371d901c
* test for new split option
...
git-svn-id: trunk@47069 -
2020-10-09 11:33:57 +00:00
florian
284aca7348
+ x86: FstpFld2Fst optimization (re-enabled for safe cases)
...
git-svn-id: trunk@47024 -
2020-09-30 19:20:14 +00:00
Tomas Hajny
a71f87357d
* simplified version of SeekEof for improved TP/BP/Delphi compatibility by Andrey 'Croco' Stolyarov as fix for #37716 , plus a new test for testing the compatibility
...
git-svn-id: trunk@46946 -
2020-09-24 19:33:28 +00:00
svenbarth
e72f324f42
* according to ISO 10206 (Extended Pascal) 6.9.3.5 the "otherwise"-clause is supported for case-statements
...
+ added test
git-svn-id: trunk@46943 -
2020-09-24 11:41:43 +00:00
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
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
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
florian
cdf1f710e5
+ C objects for for xtensa-freertos with call0 abi, build with:
...
make create_c_objects TEST_CCOMPILER=xtensa-lx106-elf-gcc TEST_ABI=call0 TEST_FPC=fpc TEST_CPU_TARGET=xtensa TEST_OS_TARGET=freertos "TEST_CFLAGS=-O3 -mlongcalls"
using xtensa-lx106-elf-gcc (crosstool-NG crosstool-ng-1.22.0-100-ge567ec7) 5.2.0
git-svn-id: trunk@46790 -
2020-09-06 20:23:25 +00:00
Jonas Maebe
97bf6d6677
* fix formatfloat for 0 in exponential format (based on patch by
...
Jamie Philbrook, mantis #37374 )
git-svn-id: trunk@46778 -
2020-09-05 18:44:57 +00:00
florian
9a7e977167
* replace tcaldefs.inc by cpudefs.inc
...
git-svn-id: trunk@46765 -
2020-09-04 15:37:01 +00:00
florian
28e2fae09d
+ forgotten file
...
git-svn-id: trunk@46764 -
2020-09-04 15:33:29 +00:00
florian
03778f9b7f
* unified settings for CPU "size"
...
git-svn-id: trunk@46757 -
2020-09-03 21:02:27 +00:00
florian
55e6ffb428
+ common include file for tcal*.pp tests to define cpusmall
...
git-svn-id: trunk@46730 -
2020-08-29 20:24:30 +00:00
florian
f4e27dcfb6
+ created xtensa-freertos object files using gcc xtensa-esp32-elf-gcc (crosstool-NG esp-2019r2) 8.2.0 with:
...
make TEST_CCOMPILER=xtensa-esp32-elf-gcc create_c_objects TEST_FPC=fpc TEST_ABI=windowed TEST_OS_TARGET=freertos TEST_CPU_TARGET=xtensa TEST_SUBARCH=lx6 TEST_CFLAGS=-mlongcalls
git-svn-id: trunk@46725 -
2020-08-28 20:18:34 +00:00
florian
1041bc5a17
* made test more verbose
...
git-svn-id: trunk@46707 -
2020-08-26 21:01:38 +00:00
florian
5aa3da26f5
* fix test for targets with little memory
...
git-svn-id: trunk@46693 -
2020-08-25 21:39:38 +00:00
florian
e81920af7b
* made test more usefull
...
git-svn-id: trunk@46546 -
2020-08-22 19:38:07 +00:00
yury
e200fde888
* Fixed tests for 16-bit CPUs.
...
git-svn-id: trunk@46494 -
2020-08-19 11:02:29 +00:00
yury
6878ffbf04
* In the TP mode for 16-bit CPUs uint8+uint8 is extended to sint16+sint16. This is TP compatible.
...
git-svn-id: trunk@46468 -
2020-08-17 09:25:45 +00:00
yury
2ab7cceeaa
* Added the $F+ switch (forced far calls) for some TP mode tests.
...
git-svn-id: trunk@46456 -
2020-08-16 10:48:10 +00:00
svenbarth
e4ec420bf5
* reject the default Create array constructor if used on a variable instead of a type
...
+ added test
git-svn-id: trunk@46279 -
2020-08-05 21:35:01 +00:00
svenbarth
b62045809d
* reject overloads if they only differ in the result types (as long as they aren't operator overloads)
...
+ added tests
git-svn-id: trunk@45973 -
2020-07-31 15:55:34 +00:00
Jonas Maebe
3fde3f23ce
* moved ios test object files to ios directory
...
+ added darwin/aarch64 test object files
git-svn-id: trunk@45803 -
2020-07-18 13:44:03 +00:00
svenbarth
d401639b24
* fix for Mantis #37251 : apply patches by Bi0T1N to implement the IsConstValue() intrinsic
...
+ added tests
git-svn-id: trunk@45695 -
2020-06-25 20:42:47 +00:00
yury
e63c03125a
* Reworked tprocdef.is_implemented to fix a bug with the parentfp optimization. The bug was detected when using the llvm backend.
...
+ Added a test.
git-svn-id: trunk@45675 -
2020-06-21 19:52:14 +00:00
yury
c15b6f4516
* Fixed the parentfp optimization for some cases when nested procvars are used.
...
git-svn-id: trunk@45664 -
2020-06-20 18:28:07 +00:00
michael
e0c5ac1682
* Add nullable (bug ID 0037128)
...
git-svn-id: trunk@45520 -
2020-05-28 09:39:35 +00:00
florian
8f88112bfe
* allow in iso mode constants selecting the branch to dispose of a variant record (no functional effect though), resolves #37085
...
git-svn-id: trunk@45519 -
2020-05-27 21:10:55 +00:00
svenbarth
1d4bbcef75
+ add additional overloads for FindResource and FindResourceEx so that mixtures of AnsiString and MAKEINTRESOURCE types as well as names can be used
...
+ added test for ReadComponentRes (which called the wrong FindResource before)
git-svn-id: trunk@45479 -
2020-05-23 21:24:01 +00:00
florian
809fb83334
* adapt optimizer to handle push/pop for stack alignment
...
* adapt test
git-svn-id: trunk@45477 -
2020-05-23 17:50:14 +00:00
svenbarth
6b548b9016
* fix for Mantis #37042 : apply patch and test (adjusted for Big Endian) by Bi0T1N to add support for TBitConverter
...
git-svn-id: trunk@45409 -
2020-05-17 20:59:57 +00:00
Jonas Maebe
6f165b6c01
* fixed tests
...
o fixed use of loop counter after end of loop
o fixed reliance on old behaviour for int -> real typecasts
git-svn-id: trunk@45379 -
2020-05-16 13:31:28 +00:00
svenbarth
f0e8d5dfa6
* fix for Mantis #37043 : apply patch by Bi0T1N (including test) to add additional overloads for IntToHex including a rerouting of the ordinal helpers' ToHexString to use these overloads
...
git-svn-id: trunk@45370 -
2020-05-15 15:14:19 +00:00
yury
a316229ef6
* Always use parentfp for forward-declared nested procedures.
...
git-svn-id: trunk@45320 -
2020-05-09 17:52:17 +00:00
yury
40504a6f9d
* If a nested procedure does not access its parent's frame pointer, optimize it by removing the hidden $parentfp parameter.
...
* Improved the tisogoto1.pp test.
git-svn-id: trunk@45292 -
2020-05-06 14:43:49 +00:00
svenbarth
60345366f2
* fix for Mantis #35140 : apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics
...
+ added tests
git-svn-id: trunk@45080 -
2020-04-25 22:12:35 +00:00
svenbarth
de35356a4d
* when checking for an existing operator overload for the assignment operator, check for the correct variant (explicit or not) matching the overload
...
+ added tests
git-svn-id: trunk@44746 -
2020-04-17 14:44:14 +00:00
florian
cd35cdad25
* fix Min/MaxSingle/Double values, resolves #36870
...
git-svn-id: trunk@44714 -
2020-04-13 08:48:32 +00:00
florian
af1a4c06c5
* fixed generic round(...) for large values based on a comment by Alexander Hofmann on fpc-devel
...
* extended test
git-svn-id: trunk@44235 -
2020-02-23 10:41:18 +00:00
florian
4dff373fef
* (modified) patch by J. Gareth Moreton: processor-aware MOVZX optimisation cleanup, resolves #36687
...
git-svn-id: trunk@44233 -
2020-02-22 18:37:38 +00:00
florian
66aa2e1416
* fixed tests for architectures with FPC_COMP_IS_INT64 defined
...
git-svn-id: trunk@44222 -
2020-02-20 20:51:46 +00:00
florian
200de64085
* aarch64 suffers also from the limited tan precision of the softfpu
...
git-svn-id: trunk@44212 -
2020-02-18 21:37:06 +00:00
florian
2214677656
* tests need -CE
...
git-svn-id: trunk@44206 -
2020-02-17 20:36:35 +00:00
svenbarth
2ad3c6dd97
* fix global generic functions with constraints in mode Delphi by handling implementations with defines outside of parse_generic_parameters
...
+ added tests
git-svn-id: trunk@44189 -
2020-02-16 09:53:37 +00:00