florian
7b67378206
+ test for last commit
2025-02-09 16:35:42 +01:00
florian
529091f620
* fixed test runner directives
2025-01-26 10:53:22 +01:00
Sven/Sarah Barth
70c153123b
+ add tests for the adjusted message handling, especially one that checks that messages inside generics can be silenced correctly
2024-12-31 18:32:17 +01:00
florian
63734fb792
* unnecessary directives removed
2024-10-31 22:35:04 +01:00
Sven/Sarah Barth
73420dcace
* ensure that Default() symbols that use management operators are properly initalized/finalized
...
+ added test
2024-10-11 18:00:01 +02:00
Michaël Van Canneyt
088f394440
* Implement TList<T>.pack. Patch by Alexander Bagel. Fixes issue #40927
2024-10-09 09:15:50 +02:00
florian
7d1bb89455
* patch by Alexander (Rouse_) Bagel: TArrayHelper.BinarySearch, when searching
...
for an element that is obviously missing from the array, should return
the position where the element should have been, but instead it reset AFoundIndex to -1, resolves #40867
2024-08-29 21:18:57 +01:00
florian
e4b88655af
* test for mr 724
2024-07-20 13:46:06 +02:00
florian
74bed63e28
+ test for fc3d71bba3
2024-04-10 23:01:25 +02:00
florian
3327204ebd
* restored overwritten test
2024-03-24 14:30:07 +01:00
florian
1fccfd3ee1
* AArch64: avoid false overflow error in case of -2^63+0
2024-03-24 12:36:02 +01:00
florian
8aca910435
* improve test so it exits with the proper error code
2024-03-21 22:52:56 +01:00
florian
635b06d53c
+ test for commit e1297e0859
2024-03-20 22:01:59 +01:00
florian
594d4cc4f9
* transform -1-x into not(x)
2024-03-08 22:42:26 +01:00
florian
f41025f5dd
* optimize also -(x+1) and -(1+x) into not(x)
2024-03-06 22:56:37 +01:00
florian
59c77a48b5
* transform -x-1 into not(x), resolves #40313
2024-03-05 22:11:32 +01:00
florian
4e1f854d49
* patch by Rika + test: Don’t explicitly change GetMem(0) to GetMem(1), it works anyway, resolves #40456
2024-03-01 22:49:45 +01:00
Sven/Sarah Barth
3447512e29
* ensure that "type SomeName = type reference" is still allowed when function references are disabled
...
+ added test
2024-02-23 15:31:38 +01:00
florian
94a56ba3d5
+ test from Rika for merge request 566
2024-01-06 22:18:30 +01:00
Pierre Muller
64a7bc13d6
Try several ports before failing
2023-09-10 11:11:35 +00:00
florian
cc27a5de78
+ test from Rika for merge request 458
2023-08-14 23:21:25 +02:00
Jonas Maebe
13346a42bc
volatile: allow for assignments
2023-08-12 12:04:40 +02:00
Jinyang He
176462c39a
add loongarch64 tests support
2023-02-05 19:18:48 +00:00
florian
09b435cdab
* transform a/a only into 1 if fastmath is on
2023-01-29 13:49:33 +01:00
florian
ec28b7586c
+ support procvar[] in tp/mac procvar mode if the procvar returns an array type
2023-01-22 16:24:29 +01:00
Sven/Sarah Barth
ebb4de1441
* mark test as NORUN
2022-12-03 19:41:34 +01:00
Sven/Sarah Barth
7a34677b2a
* as long as the type passed into a TypeInfo() is not an undefined or error def the resulting value will always be constant at compile time, so it can be compared to another then no matter if typenode or not
...
+ added tests
2022-12-02 17:47:15 +01: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
6cbbf9c52a
* $P/$OpenStrings is supposed to be a local switch, so change that accordingly
...
+ added tests
2022-10-08 13:52:32 +02:00
Sven/Sarah Barth
a93942cd27
* correctly convert a single WideChar to a PChar constant with the correct code page
...
+ added test
2022-08-28 21:53:44 +02:00
Sven/Sarah Barth
27c1bb3bea
* an objectdef also requires an init for its members if a member (or a member of one of the parents) has a complex initialization
...
+ added test
2022-08-14 15:42:32 +02:00
florian
399e699b72
* tests for merge request 244
2022-07-16 22:13:21 +02:00
Nikolay Nikolov
c9ed14f87b
+ enable the 64-bit SAR instruction on the WebAssembly target
2022-05-27 22:56:05 +03:00
Nikolay Nikolov
b6aaa06f83
+ enable the ROL/ROR instructions for WebAssembly
2022-05-27 22:46:32 +03:00
Jonas Maebe
b1f85792d7
Symbolic constants: don't range check on in use in typed constants
...
Same as 3da54dcf9f
, but this type when used in type constant definitions
like record fiels
2022-04-03 11:20:10 +02:00
Jonas Maebe
3da54dcf9f
Symbolic constants: don't range check on use
...
If these constants are defined with an explicit type, they are already
truncated/checked at that point. If we range check them again on use, we
may get errors because at that point there is no explicit type cast
any more.
2022-04-02 13:26:44 +02:00
florian
680a5b94ff
+ test for last commit ( 44094dba2f
)
2022-02-14 22:54:36 +01:00
florian
e19b45a71b
* tests fixed after last commit
2022-01-15 22:30:25 +01:00
florian
62f1771121
* fix test for improved fpc_Val_SInt_ShortStr
2022-01-08 14:54:18 +01:00
florian
2a93e65511
* seperator => separator
2022-01-02 13:12:33 +01:00
florian
d2447026de
+ modeswitch UNDERSCOREISSEPERATOR, active by default in delphi modes:
...
support _ as seperator in numbers, it is ignored while reading them, resolves #39504
2022-01-01 23:28:36 +01:00
Florian Klämpfl
25eab57a58
* allow %... for binary constants in delphi mode, resolves #39503
2021-12-29 15:37:53 +01:00
Sven Barth
69bfff046a
+ add a test for converting a 64-bit Boolean (either QWordBool or Boolean64) to a 32-bit signed integer (this problematic case was discovered after e65b822a
on PowerPC
2021-12-05 15:11:24 +01:00
florian
d708bef92f
+ Aarch64: read register sets with ranges properly
...
+ tests
2021-11-07 20:02:29 +01:00
Jonas Maebe
4426d0da7a
Fixed variant discriminator types
2021-10-31 21:13:35 +01:00
Yuriy Sydorov
e9d318e7e2
* x86: Fixed update of used registers in the CMOV optimizations.
...
This fixes a bug reported by Martin Frb in fpc-devel which is triggered
by the recently provided test code in FPC 3.2.2 x86_64, but is hidden
in trunk by other pipeline peephole optimizations.
2021-10-04 18:10:34 +03:00
florian
5abfe21f39
+ apply unary minus optimizations also to /
...
* test extended
2021-09-23 22:44:16 +02:00
florian
69d5d648a9
+ more unary minus optimizations
...
* test extended
2021-09-21 23:09:33 +02:00
florian
3e760b33c7
+ more unary minus optimizations
...
* test extended
2021-09-20 22:31:16 +02:00
florian
8cb92fd49a
* simplify real expressions involving unary minus
...
+ test
2021-09-19 23:08:32 +02:00