Jeppe Johansen
f5e34990ae
- Adds intrinsics to save/restore SREG when disabling interrupts.
...
- Adds nostackframe to stack frame investigation stubs.
git-svn-id: trunk@41898 -
(cherry picked from commit 12879adc2f
)
2021-10-24 12:40:36 +02:00
florian
3d3e828151
* properly allocate parameter registers for constants on avr, resolves #33932
...
git-svn-id: trunk@40848 -
(cherry picked from commit 8fceba4493
)
2021-10-24 12:40:36 +02:00
florian
7ac474341a
* patch (slighly modified) by Christo Crause to write 16 bit registers on avr in hi/lo order, resolves #34721
...
git-svn-id: trunk@40678 -
(cherry picked from commit 917de001d6
)
2021-10-24 12:40:36 +02:00
florian
a5d24ec763
* max_operands needs only to be 2 on avr
...
git-svn-id: trunk@40197 -
(cherry picked from commit 42e54c1ad5
)
2021-10-24 12:40:36 +02:00
Jonas Maebe
667938c6c9
* add missing unixutils -> baseunix dependency
...
git-svn-id: trunk@47302 -
(cherry picked from commit 24e188f0d2
)
2021-10-09 21:13:32 +00:00
Yuriy Sydorov
eb69bbf4f1
* 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.
(cherry picked from commit e9d318e7e2
)
2021-10-05 22:09:39 +03:00
Sven/Sarah Barth
48c54afabb
* patch by Sergey Larin to handle Native(U)Int conversions from/to variants, resolves #37339
...
git-svn-id: trunk@45797 -
(cherry picked from commit a57f3ba396
)
2021-10-01 17:43:23 +02:00
flyingsheep
b8b1aeb4e0
* Fix for issue #39379 by bart broersma
...
(cherry picked from commit 6c6cb13a5e
)
2021-09-30 19:41:44 +00:00
pierre
8a568acaa8
Use gdate/date -u option to get universal time for TEST_DATETIME variable
...
git-svn-id: trunk@49289 -
(cherry picked from commit 6f4617eeb3
)
2021-09-30 10:16:19 -06:00
florian
083b7da54e
* @PLT is needed for calls to link it properly with pic code
...
git-svn-id: trunk@46209 -
(cherry picked from commit b60ac4c2db
)
2021-09-29 16:20:47 +00:00
pierre
5aea57b5fc
* tests/Makefile.fpc: Add NATIVE_FPC=$(FPC) to tstunits rule make call.
...
* tests/Makefile: Regenerate.
* tests/tstunits/Makefile.fpc: Pass FPCFPMAKE=$(NATIVE_FPC) to rtl and packages
recompilation rules, to avoid truobles for cross-compilation.
* tests/tstunits/Makefile: Regenerate.
git-svn-id: trunk@43019 -
(cherry picked from commit 0b2a6e5a74
)
2021-09-27 20:03:20 +00:00
florian
35bcb99e6f
+ create directory for C objects if needed
...
git-svn-id: trunk@46788 -
(cherry picked from commit 323b3b5d2b
)
2021-09-27 19:58:58 +00:00
pierre
1081f5aad7
+ Add TEST_PARALLEL, adds -L option to DOTESTOPT
...
git-svn-id: trunk@40308 -
(cherry picked from commit 122fd55564
)
Conflicts:
tests/Makefile
2021-09-27 19:55:22 +00:00
pierre
c595135723
Add wposuffix to keep different logs for each pass when passes is > 1
...
git-svn-id: trunk@48800 -
(cherry picked from commit 63a3c25493
)
2021-09-27 19:50:13 +00:00
florian
bef4d583da
* support passing options to the emulator when using one for testing
...
git-svn-id: trunk@47604 -
(cherry picked from commit 9c77e4a899
)
2021-09-27 19:49:38 +00:00
lacak
aadb08980b
fcl-db: base: +TParam.AsByte (for Delphi compatibility)
...
git-svn-id: trunk@49603 -
(cherry picked from commit ab86ce7e62
)
2021-09-27 21:03:20 +02:00
lacak
b421a17c84
fcl-db: sqlite: add support for journal_mode pragma (beside foreign_keys pragma). This pragma must be set after connect before any transaction starts.
...
git-svn-id: trunk@47656 -
(cherry picked from commit 738959ce59
)
2021-09-27 21:03:20 +02:00
lacak
aff575ea1b
fcl-db: base: xmldatapacketreader: fix XML data types
...
git-svn-id: trunk@47247 -
(cherry picked from commit 5f04bb4a8e
)
2021-09-27 21:03:20 +02:00
lacak
5a3c4b5f39
fcl-db: tests: fix typo
...
git-svn-id: trunk@47238 -
(cherry picked from commit 28d1ad595a
)
2021-09-27 21:03:20 +02:00
lacak
f02f74ec24
fcl-db: mysql: use new ftLongWord for INT UNSIGNED fields. Bug #37979
...
git-svn-id: trunk@47237 -
(cherry picked from commit 78e7ea6fbf
)
# Conflicts:
# packages/fcl-db/src/sqldb/mysql/mysqlconn.inc
2021-09-27 21:03:20 +02:00
lacak
1409b84323
fcl-db: base: +TFMTBCDField.AsLongWord
...
git-svn-id: trunk@47235 -
(cherry picked from commit 806ddcdbbc
)
2021-09-27 21:03:19 +02:00
lacak
4108c6446a
fcl-db: test: +testShortIntValues
...
git-svn-id: trunk@47233 -
(cherry picked from commit 7ee3b01eff
)
2021-09-27 21:03:19 +02:00
lacak
aefc2d789f
fcl-db: dbase: add new field types (ftLongWord, ftShortint, ftByte) to fix export test errors
...
git-svn-id: trunk@47225 -
(cherry picked from commit eb4bc9d153
)
2021-09-27 21:03:19 +02:00
lacak
ec3eeec9ef
fcl-db: tests: add support for ftLongWord, ftShortInt, ftByte field types to TBufDataset + basic test
...
git-svn-id: trunk@47224 -
(cherry picked from commit 6c2554af69
)
2021-09-27 21:03:19 +02:00
michael
be620090ad
* Fix compilation after Lacos changes to TFieldType
...
git-svn-id: trunk@47223 -
(cherry picked from commit 7f6d0fec96
)
2021-09-27 21:03:19 +02:00
lacak
746f1ffcc8
fcl-db: base: fix after adding new field types into enumeration TFieldType (in rev. 47217)
...
git-svn-id: trunk@47222 -
(cherry picked from commit 63aed04024
)
2021-09-27 21:03:19 +02:00
lacak
ceea302738
fcl-db: base: TShortintField + TByteField
...
git-svn-id: trunk@47221 -
(cherry picked from commit 54f85eec56
)
2021-09-27 21:03:19 +02:00
lacak
ce066238b4
fcl-db: base: enable TLongWordField in DefaultFieldClasses
...
git-svn-id: trunk@47220 -
(cherry picked from commit b5a1c93ec2
)
2021-09-27 21:03:19 +02:00
lacak
78e4d80e21
fcl-db: base: AsLongWord property + getter/setters for TField and TParam + TLongWordField class
...
git-svn-id: trunk@47219 -
(cherry picked from commit a8cd770b3c
)
2021-09-27 21:03:19 +02:00
lacak
1072a0770b
fcl-db: base: fix after adding new field types into enumeration TFieldType (in rev. 47217)
...
git-svn-id: trunk@47218 -
(cherry picked from commit 15dfa2e0c9
)
2021-09-27 21:03:19 +02:00
lacak
254c175b9f
fcl-db: base: add some of new Delphi field types into enumeration TFieldType
...
(ftOraTimeStamp, ftOraInterval, ftLongWord, ftShortint, ftByte, ftExtended)
git-svn-id: trunk@47217 -
(cherry picked from commit d68ce429ab
)
2021-09-27 21:03:19 +02:00
florian
655a3ee0da
* createlst and gparmake need to be used with the source os extension (actually, we should call it host extension)
...
git-svn-id: trunk@49019 -
(cherry picked from commit 8ed2ea3672
)
2021-09-27 17:46:03 +00:00
pierre
5ecd5a62e6
Use gdate/date -u option to get universal time for TEST_DATETIME variable
...
git-svn-id: trunk@49289 -
(cherry picked from commit 6f4617eeb3
)
2021-09-27 17:42:17 +00:00
pierre
883affaeb6
Use TEST_USE_LONGLOG by default, but check TEST_DISABLE_LONGLOG before setting it to 1
...
git-svn-id: trunk@44114 -
(cherry picked from commit b77cd3a3e7
)
2021-09-27 17:39:13 +00:00
pierre
8fa2176853
Fix test_c_objects rule (by removal of extra closing braces)
...
git-svn-id: trunk@41983 -
(cherry picked from commit 3f39fe75f3
)
2021-09-27 17:34:52 +00:00
pierre
bd91cea1eb
Add possibility to set explicitly TEST_COMMENT variable, set as Comment field in dbdigest.cfg file (defaulting to TEST_OPT as before)
...
git-svn-id: trunk@43897 -
(cherry picked from commit 22806e31c3
)
Conflicts:
tests/Makefile
2021-09-27 17:11:11 +00:00
Pierre Muller
405ea487c8
Fix use of svnversion if ../.git does not exist
...
(cherry picked from commit a7ad65f884
)
Conflicts:
tests/Makefile
2021-09-27 17:05:41 +00:00
Yuriy Sydorov
ebc55c0f4e
* 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.
(cherry picked from commit b43ee41090
)
2021-09-09 22:23:28 +02:00
Yuriy Sydorov
7369565caf
+ Added a test for a bug fixed in b96057ad
.
...
(cherry picked from commit 16d17de1ff
)
2021-09-07 21:43:32 +02:00
Yuriy Sydorov
0ca0cd9d0d
* Remove register allocations of coalesced registers if the alias
...
register is spilled.
(cherry picked from commit b96057adeb
)
2021-09-07 21:43:16 +02:00
Yuriy Sydorov
0b5951cf22
* 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.
(cherry picked from commit 940ac567a5
)
2021-09-07 21:37:19 +02:00
Jonas Maebe
9433467ec8
* Darwin support for printing line info for backtraces when using Dwarf,
...
based on patches by Colin Western, mantis #38483 )
o requires that the program/library is compiled with -Xg (or that
dsymutil is run on it after compiling), and that the .dSYM bundle
is in the same directory as the program/library
o always use the "dl" unit in exeinfo for Darwin, as that's needed for
dynamic library support, and this does not cause an extra dependency
since on Darwin we always use libc
o cleaned up the exeinfo unit for Darwin, and sped it up by using mmap
instead of small reads
o fixed unit dependencies for exeinfo, lineinfo and lnfodwarf in Darwin
RTL Makefile
* use the process address info from the original exe even when reading
the debug information from an external file
- removed outdated ifdef'd darwin code from dl.pp (no longer needed now
that processaddress gets set correctly in exeinfo for that platform)
git-svn-id: trunk@49140 -
(cherry picked from commit 0eb9dd3879
)
2021-09-04 15:09:22 +02:00
Jonas Maebe
7c75193865
* add missing unixtype dependencies
...
git-svn-id: trunk@46989 -
(cherry picked from commit de095258a7
)
2021-09-04 10:27:30 +02:00
florian
61e9be551a
* update dependencies of sysutils
...
git-svn-id: trunk@43315 -
(cherry picked from commit c7fb1b8db7
)
2021-09-04 10:27:23 +02:00
florian
58dacbd625
* generate a def. file only if really necessary
...
(cherry picked from commit d3615788a8
)
2021-08-29 21:40:31 +02:00
FPK
4597a05c11
* factored out the fullcycle job as proposed by Marcus
...
(cherry picked from commit e9b880c947
)
2021-08-28 19:41:34 +02:00
florian
0a4d6df7b9
* fix test for targets with FPC_COMP_IS_INT64 defined
...
(cherry picked from commit e80560e59c
)
2021-08-27 22:42:56 +02:00
Pierre Muller
5894c13c63
Also ignore compiler/gppc* pattern
...
(cherry picked from commit c426791a1b
)
2021-08-27 10:19:41 +02:00
Jonas Maebe
b7b9c5d94c
* fix false possitive tconstexprint range errors after r41441 (mantis #35144 )
...
git-svn-id: trunk@41469 -
(cherry picked from commit eb71a30933
)
2021-08-27 10:02:15 +02:00
Pierre Muller
b2ce589dae
Delete binary file added by error
2021-08-27 09:11:05 +02:00