Commit Graph

7724 Commits

Author SHA1 Message Date
florian
6a109634b0 * extended test to include the test case for #40732 2024-04-27 18:44:59 +02:00
Sven/Sarah Barth
61397d40ae * ensure that Insert() of a single element into a dynamic array is typechecked in a way that the user is notified of errors
+ added test
2024-04-24 23:13:36 +02:00
florian
2d1fba1fa1 * disable (type ...), it did never work and there are not test, resolves #40562 2024-04-24 22:51:11 +02:00
florian
902c93f3c3 * do not limit the number of interfaces per class, resolves #40268 2024-04-20 22:05:18 +02:00
florian
e412f6be55 + in on an empty set is always false, resolves #40745 2024-04-19 23:43:35 +02:00
florian
2f9ed0576e * optimize x </>= length(...) also if the operands are swapped 2024-04-18 23:07:40 +02:00
florian
e130557d9f * optimize x < length(arr) and x >= length(arr) as proposed in #40292 2024-04-17 23:29:13 +02:00
florian
1222456c13 * allow [] for constant set constraints, resolves #37020 2024-04-13 22:28:54 +02:00
Sven/Sarah Barth
b0d61558e3 * fix #40725: pass along whole array constructor to the Insert() so that it's converted with the correct checks
+ added test
2024-04-12 17:34:58 +02:00
Sven/Sarah Barth
e76c5d96d8 * Fix #40716: only add helpers if the type doesn't belong to the current object/class/record hierarchy
+ added test
2024-04-12 17:34:58 +02:00
Sven/Sarah Barth
7a1ef994b4 * fix #40721: correctly set up the generic defs when parsing fields, especially important when dealing with anonymous fields
+ added tests
2024-04-12 17:34:58 +02:00
Sven/Sarah Barth
550397b982 * fix #40708: when creating the sub-arraydefs for comma separated arrays, ensure that the new sub array also has the generic related information set up correctly
+ added test
2024-04-12 17:34:58 +02:00
florian
74bed63e28 + test for fc3d71bba3 2024-04-10 23:01:25 +02:00
florian
fd68d3bfbb * ensure that left and right have a result type set in tx86addnode.pass_1, resolves #40727 2024-04-08 22:53:34 +02:00
florian
80e8dce98f * remove unused variables 2024-04-02 16:41:24 +02:00
florian
f28cbbf73b * run test with different options as it is tricky 2024-03-27 22:40:06 +01:00
J. Gareth "Curious Kit" Moreton
889c55ecae * "tminmax" test now prints out 'ok' if it passes and the error code if it fails 2024-03-27 02:56:44 +00:00
florian
3327204ebd * restored overwritten test 2024-03-24 14:30:07 +01:00
florian
20f9b82543 * AArch64: overflow checking for abs
* tabs adapted: also abs(longint) must overflow check on 64 bit platforms
2024-03-24 12:47:16 +01:00
florian
1fccfd3ee1 * AArch64: avoid false overflow error in case of -2^63+0 2024-03-24 12:36:02 +01:00
florian
367beaaef4 + extend test to test overflow checking 2024-03-23 22:21:42 +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
Pierre Muller
a0a57868c0 cat value of TEST_DATETIME variable into stamp file 2024-03-12 17:19:48 +01:00
florian
57a1b5a39b * fix test for i386 2024-03-10 23:02:38 +01:00
florian
594d4cc4f9 * transform -1-x into not(x) 2024-03-08 22:42:26 +01:00
florian
5086cf7e72 * set packenum and setalloc to defined values when changing mode, resolves #40056 2024-03-08 20:12:55 +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
florian
11f076f0e7 + CMPXCHG16BSupport 2024-02-28 22:18:42 +01:00
florian
1966ce7c1c + Skylake-X for i386 2024-02-26 22:41:55 +01:00
Pierre Muller
7072813c86 Add fcl-process to TESTPACKAGESDIRECTDIRS variable 2024-02-23 16:00:06 +00: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
3cf7890352 * don't throw an internalerror in case of an illegal assignment to an open array, resolves #40662 2024-02-22 22:35:18 +01:00
Sven/Sarah Barth
5c890b59e3 * fix #40655: apply changes to packrecords, packenum and setalloc using the recordpending*() functions so that they are applied correctly in case of them being used directly after a {$POP}{$PUSH} sequence
+ added test
2024-02-20 23:52:52 +01:00
florian
bccc0b195e * allow type = type ... ; syntax only for previously declared types, avoids also internal error for #40566 2024-02-20 23:14:31 +01:00
florian
a75e453c30 + thlcgobj.location_force_mem now supports LOC_JUMP as well, resolves #40650 2024-02-19 22:22:12 +01:00
florian
af482fde23 * generate specializations only of no error happened so far to prevent further (internal)errors, resolves #40646 2024-02-18 23:08:21 +01:00
Sven/Sarah Barth
ae06528db4 + add test for already fixed #24285 2024-02-18 19:35:24 +01:00
Sven/Sarah Barth
60c94c50ff + add test for now fixed #40639 2024-02-18 19:35:24 +01:00
Sven/Sarah Barth
ea102d792f * fix #40634 the 2nd: a (strict) protected symbol in a parent class of the owner is supposed to be visible
+ added test
2024-02-18 19:35:24 +01:00
J. Gareth "Curious Kit" Moreton
afd63ef0ce * New test for !40643 2024-02-18 15:37:27 +00:00
J. Gareth "Curious Kit" Moreton
068b8f9e9d * New test for i40647 2024-02-18 15:31:20 +00:00
Pierre Muller
8122defbd8 Add test for bug report 40537 2024-02-17 21:33:52 +00:00
FPC_Admin
2350b34d0f Handle seperation line even when combined with last line of previous log 2024-02-17 16:06:46 +00:00
FPC_Admin
2584a271b5 Explicitly use testu version of GetFileContents function 2024-02-17 16:06:46 +00:00
Sven/Sarah Barth
d9903e6e16 * fix #40634: correctly check visibility for child classes in case of a mixture of specializations and non-specializations
+ added test
2024-02-16 16:54:23 +01:00
Michaël Van Canneyt
d45556666e * Properly handle stdout for redir 2024-02-15 14:08:42 +01:00
Pierre Muller
a3b730b0f1 Add POPCNTSupport call to avoid use of unsupported instruction 2024-02-15 09:01:04 +00:00