Jonas Maebe
94f77251e4
* synchronised zith r444 of the universal interfaces:
...
o changed C-blocks modifier to new FPC syntax
git-svn-id: trunk@43687 -
2019-12-14 17:15:31 +00:00
Jonas Maebe
0f57151d36
+ recognise LLVM 9.0 (no changes needed compared to LLVM 8.0)
...
git-svn-id: trunk@43686 -
2019-12-14 17:15:27 +00:00
svenbarth
707f722531
* regenerate msg*.inc files after adding a new error message related to C blocks
...
git-svn-id: trunk@43685 -
2019-12-14 16:45:42 +00:00
svenbarth
8111e92e1f
* rework syntax for cblocks: now a cblock directive is required
...
* additionally implicit calling conventions of cdecl or mwpascal now work as well
* adjusted tests
+ added tests
Note: the generator for packages/univint needs to be fixed, until then building on macOS will be broken
git-svn-id: trunk@43684 -
2019-12-14 16:45:38 +00:00
Jonas Maebe
c477816100
- removed LLVM support for clang < 7.0 and Xcode < 10.0: those versions
...
contain various bugs and can't even complete "make all", so there is no
point in keeping them
o changed default LLVM target version to 7.0
git-svn-id: trunk@43682 -
2019-12-14 14:59:05 +00:00
Jonas Maebe
a352a12bb4
* use value_real rather than value_curency when writing currency
...
realconstnodes (fixes tcurrency1, tw33439 and tw36179 with LLVM)
o we need to load the fpu representation of the currency values,
not the scaled currency value
git-svn-id: trunk@43681 -
2019-12-14 14:11:12 +00:00
michael
a3871b0a87
* Fix option character test (bug ID 36438)
...
git-svn-id: trunk@43680 -
2019-12-14 11:59:53 +00:00
michael
0b9b002807
* Fix bug ID #36425
...
git-svn-id: trunk@43678 -
2019-12-12 15:07:46 +00:00
svenbarth
22ce9006ab
* fix number of last parser_* message entry
...
git-svn-id: trunk@43677 -
2019-12-11 22:43:03 +00:00
svenbarth
36e32ee607
* more correct method names (based on patch by Blaise.ru)
...
git-svn-id: trunk@43676 -
2019-12-11 22:43:00 +00:00
svenbarth
46a366d6ae
* clear up file comment (based on patch by Blaise.ru)
...
git-svn-id: trunk@43675 -
2019-12-11 22:42:56 +00:00
svenbarth
bf5d75e594
* move the common sequence to build a VMT for an objectdef into a separate procedure (based on a patch by Blaise.ru)
...
git-svn-id: trunk@43674 -
2019-12-11 22:42:53 +00:00
svenbarth
a6354741e6
* TVMTBuilder.build_interface_mappings does not need to be public (based on patch by Blaise.ru)
...
git-svn-id: trunk@43673 -
2019-12-11 22:42:48 +00:00
pierre
8c2aa32683
* Remove duplicate ibextraheader handling.
...
* Move SymAnsiStr boolean setting inside parseextraheader function.
* Only accept same CurrentPPULongVersion in parseextraheader function.
git-svn-id: trunk@43672 -
2019-12-11 17:14:27 +00:00
florian
f62fd437b1
* patch by J. Gareth Moreton: improve test and benchmark, resolves #35633
...
git-svn-id: trunk@43671 -
2019-12-10 21:31:42 +00:00
florian
ef7e4f6f62
* fix J. Gareth Moreton to resolve #36389
...
git-svn-id: trunk@43670 -
2019-12-09 22:00:45 +00:00
Tomas Hajny
caf1f0c714
* added support for specifying package listing files using wildcards
...
git-svn-id: trunk@43669 -
2019-12-09 21:49:05 +00:00
florian
599e2df71f
o patch by J. Gareth Moreton, resolves r36371:
...
* This patch makes some minor improvements to the cross-platform code that deals with jump optimisations.
More specifically, it attempts to do more in a single pass which has the nice side-effect of
fixing a couple of minor mistakes (in some situations, it would erroneously remove an alignment entry).
- Most improvements are with dealing with Jcc/JMP pairs and their equivalents on other platforms, by
collapsing label clusters and stripping dead code as soon as it has enough information to do so, and being
more intelligent before calling Continue to see if another optimisation can be performed in the same sitting.
- RemoveDeadCodeAfterJump is now a function that returns True if a jump was found among the dead code,
thus allowing the ability to flag the peephole optimizer for another iteration of Pass 1 - the
destination label may have appeared earlier in the code and become dead as a result of the removal
of the jump, thus opening up new optimisations with instructions that sat either side of the label.
- Preliminary tests show that it does sometimes reduce the number of passes required to optimise a subroutine
under -O3.
git-svn-id: trunk@43668 -
2019-12-09 20:58:31 +00:00
florian
2a315df80c
* check in CheckLive* if a register allocator is initialized for a certain register type
...
git-svn-id: trunk@43665 -
2019-12-08 22:22:17 +00:00
michael
eb2c7d2ca5
* Fix lime color (bug ID 0036407)
...
git-svn-id: trunk@43664 -
2019-12-08 20:11:23 +00:00
michael
4ded1eb698
* Fix memleak in comparer, improve date recognition
...
git-svn-id: trunk@43663 -
2019-12-08 20:05:53 +00:00
michael
04a51a622d
* Fix memleaks (bug ID 36408)
...
git-svn-id: trunk@43662 -
2019-12-08 20:05:14 +00:00
michael
147a766890
* Indicate and use sqSequences connection info, fix bug #0035241 (statement for sqlite next sequence value)
...
git-svn-id: trunk@43655 -
2019-12-06 09:57:10 +00:00
michael
feb1dacd33
* Fix bug #0035436
...
git-svn-id: trunk@43654 -
2019-12-06 08:53:43 +00:00
florian
ac6e4f59c6
* better error recovery, resolves #36397
...
git-svn-id: trunk@43653 -
2019-12-05 20:46:50 +00:00
florian
266daa62f1
* updated arm linker script as proposed by Alfred, resolves #36395
...
git-svn-id: trunk@43651 -
2019-12-05 20:07:16 +00:00
Jonas Maebe
54d3c26e27
* renamed abi_linux386_sysv to abi_i386_dynalignedstack, and also use it
...
for Darwin-based i386 platforms
git-svn-id: trunk@43650 -
2019-12-05 19:38:01 +00:00
michael
694888e7c8
* Make sure open/close use same options in CSV close/open writing
...
git-svn-id: trunk@43648 -
2019-12-05 16:16:08 +00:00
michael
b82eaf4ce2
* Fix bug #32532 : AV when killing daemon app
...
git-svn-id: trunk@43645 -
2019-12-05 14:54:15 +00:00
michael
00e132498e
* Fix name array
...
git-svn-id: trunk@43644 -
2019-12-05 14:02:03 +00:00
michael
76a4638a46
* Rework default file mechanism in bufdataset to fix bug #34435
...
git-svn-id: trunk@43643 -
2019-12-05 14:01:43 +00:00
michael
e28b39e395
* Fix 16 bit support for PNM (bug ID 35080)
...
git-svn-id: trunk@43642 -
2019-12-05 12:51:14 +00:00
michael
db895fcebe
* Fix bug #0036361 , use buffer when reading csv
...
git-svn-id: trunk@43641 -
2019-12-05 10:43:02 +00:00
michael
6747654f7d
* Fix bug ID #36399 : add some easy access methods to TZipper/TUnzipper
...
git-svn-id: trunk@43640 -
2019-12-05 09:07:20 +00:00
michael
0add077916
* Fix bug ID #36385 , CSV header contains also disabled fields
...
git-svn-id: trunk@43639 -
2019-12-04 12:07:17 +00:00
michael
cd8d75d5fa
* Added possibility for array arguments
...
git-svn-id: trunk@43637 -
2019-12-04 11:42:48 +00:00
michael
575fd849b1
* Patch by Werner Pamler to delete builtin (bug ID 36396)
...
git-svn-id: trunk@43636 -
2019-12-04 11:30:04 +00:00
florian
0cb85eef9b
* more currency fixes, should resolve #36176
...
git-svn-id: trunk@43635 -
2019-12-03 19:31:50 +00:00
pierre
c87facbae1
Use PInt64(@value_currency)^ construct to avoid internal error when starting from 3.0.4 ppcarm compiler
...
git-svn-id: trunk@43634 -
2019-12-03 16:05:30 +00:00
pierre
91e550edb6
Remove assigned but unused local variable i64 in taddnode.pass_typecheck_internal as suggested by Ondrej Pokorny
...
This also solves the "Invalid TypeCast Error" in rtl-objpas when compiled with -CriotR option.
git-svn-id: trunk@43631 -
2019-12-02 23:11:21 +00:00
michael
10ddaab97a
* Enable compilation for Win64 bit
...
git-svn-id: trunk@43630 -
2019-12-02 23:00:11 +00:00
svenbarth
927c91e093
* fix for Mantis #36388 : correctly handle generic constraints when looking for helpers
...
git-svn-id: trunk@43629 -
2019-12-02 22:29:34 +00:00
svenbarth
f2818bfe7a
* apply patch by Blaise.ru to remove last remnants of VMT regeneration which is no longer needed/used
...
git-svn-id: trunk@43628 -
2019-12-02 22:29:29 +00:00
michael
b86b2f1b80
* Patch from Klaus (computertechnik@web.de) to read/write columncount/columngap
...
git-svn-id: trunk@43627 -
2019-12-02 21:42:32 +00:00
svenbarth
3ced30f816
* apply (adjusted) patch by Blaise.ru: vmtentries is always created since 2008, so treat it as such (also fixes a memory leak in tobjectdef.getcopy)
...
git-svn-id: trunk@43626 -
2019-12-02 06:59:05 +00:00
svenbarth
ea75253926
* initialize the defid in trecorddef.create_global_internal as unique_id_str needs it
...
git-svn-id: trunk@43625 -
2019-12-02 06:58:59 +00:00
svenbarth
80a4a01f12
+ add a method to tdef to initialize the defid from within a constructor
...
git-svn-id: trunk@43624 -
2019-12-02 06:58:47 +00:00
florian
b8a78b135c
* simplified and improved TX86AsmOptimizer.RegModifiedByInstruction
...
git-svn-id: trunk@43623 -
2019-12-01 22:15:48 +00:00
florian
86d8e79e86
* fix some currency issues, resolves #33963 and #36179
...
git-svn-id: trunk@43620 -
2019-12-01 20:24:00 +00:00
florian
f5496c9d11
* improved build unit lazarus project for linux
...
git-svn-id: trunk@43618 -
2019-12-01 08:41:26 +00:00