Commit Graph

60185 Commits

Author SHA1 Message Date
florian
1bf58c2a55 + introduce TExitCode
git-svn-id: trunk@47029 -
2020-10-01 20:33:02 +00:00
Mattias Gaertner
43b236a4df fcl-passrc: resolver: mark inherited a:= as assignment, issue #37851
git-svn-id: trunk@47028 -
2020-10-01 19:59:50 +00:00
pierre
7e0c21fa5f Fix NDS RTL compilation for default armv4 CPU, which does not have CLZ instruction
git-svn-id: trunk@47027 -
2020-10-01 08:41:03 +00:00
florian
1e4dc56155 * inlinable frame handling dummies for avr
* inline frame handler if possible

git-svn-id: trunk@47025 -
2020-09-30 21:18:33 +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
pierre
58bca9cce1 Various Watcom changes to enable compilation of packages and utils
git-svn-id: trunk@47023 -
2020-09-30 15:38:39 +00:00
pierre
875bb32e0b Add character, fpwidestring, unicodedata and unicodenumtable units to watcom RTL
git-svn-id: trunk@47022 -
2020-09-30 15:22:13 +00:00
michael
52bc9d5d80 * Extra test for case else/else
git-svn-id: trunk@47021 -
2020-09-30 15:01:35 +00:00
michael
8775fac416 * Correct test
git-svn-id: trunk@47020 -
2020-09-30 14:02:29 +00:00
michael
abe463d576 * Fix for bug #37760
git-svn-id: trunk@47019 -
2020-09-30 14:01:00 +00:00
pierre
4a6358bfc1 * Fix NaN for watcom assembler (C000h is considered as a label, use 0xC000 instead)
* Also use ApplyAsmSymbolRestrictions for label names (required for units using embedded '.'
  * Add ':' after a label if there is hp^.next is not assigned

git-svn-id: trunk@47018 -
2020-09-30 13:50:43 +00:00
michael
2fc63a4f17 * Additional test for 37760
git-svn-id: trunk@47017 -
2020-09-30 13:36:24 +00:00
michael
4ad6c98d82 * Test for bug ID #27760
git-svn-id: trunk@47016 -
2020-09-30 13:33:16 +00:00
pierre
d72170f9a3 Fix compilation for watcom RTL
git-svn-id: trunk@47015 -
2020-09-30 12:20:26 +00:00
pierre
fa12dfa7b5 Rename pvmt internal type to lower_pvmt for i386-watcom as watcom assembler is not case sensitive
git-svn-id: trunk@47014 -
2020-09-30 12:18:39 +00:00
pierre
c20b51a806 Use ApplyAsmSymbolRestrictions function and limit label sie to 247 for watcom assembler
git-svn-id: trunk@47013 -
2020-09-30 12:17:24 +00:00
pierre
64da07da48 Add conversion from "$" to "." for i386-watcom target and avoid iteration if no char modification is wanted in ApplyAsmSymbolRestrictions function
git-svn-id: trunk@47012 -
2020-09-30 12:16:21 +00:00
ondrej
192bbc07f5 * simplify TThread.RemoveQueuedEvent - decide what to delete and not what to leave (better corresponds with the docs)
git-svn-id: trunk@47011 -
2020-09-30 06:56:27 +00:00
florian
69fcacc948 * use fld/fst on i386 to copy doubles
git-svn-id: trunk@47009 -
2020-09-29 20:59:29 +00:00
florian
e124b07e86 + evaluate typeinfo(<type1>)=/<>typeinfo(<type2>) at compile time, resolves #30260
git-svn-id: trunk@47008 -
2020-09-29 20:14:27 +00:00
svenbarth
a624348692 * when removing a method from the synchronization queue using TThread.RemoveQueuedEvent then both the Code and the Data need to match (Delphi does the same)
+ added test

git-svn-id: trunk@47007 -
2020-09-29 17:34:26 +00:00
michael
218ce57b5b * More strict behaviour for identifiers, patch by Benito van der Zander (bug ID 37841)
git-svn-id: trunk@47006 -
2020-09-29 15:45:27 +00:00
michael
130d9ccdc3 * Fix more strict handling of numbers (bug ID 37840, patch by Benito van der Zander)
git-svn-id: trunk@47005 -
2020-09-29 15:33:59 +00:00
florian
1a2b99bc09 * correctly reset fpu on x86_64-linux after a floating point exception, resolves second part of #37468
git-svn-id: trunk@46992 -
2020-09-28 20:50:25 +00:00
michael
202976b457 * Fix windows compilation
git-svn-id: trunk@46991 -
2020-09-28 14:05:12 +00:00
Jonas Maebe
322d04cdee * regenerated after adding unixtype dependencies
git-svn-id: trunk@46990 -
2020-09-28 14:02:03 +00:00
Jonas Maebe
de095258a7 * add missing unixtype dependencies
git-svn-id: trunk@46989 -
2020-09-28 14:02:00 +00:00
Jonas Maebe
f3e140fc50 * test for mantis #34543 (already fixed)
git-svn-id: trunk@46988 -
2020-09-28 14:01:55 +00:00
michael
ce3335affe * LibreSSL support
git-svn-id: trunk@46987 -
2020-09-28 13:23:43 +00:00
Mattias Gaertner
a66b6cd7c7 pastojs: classname=typeinfoname
git-svn-id: trunk@46986 -
2020-09-28 09:39:24 +00:00
michael
7c238c24e8 * Fix bug ID #37824
git-svn-id: trunk@46985 -
2020-09-28 07:55:27 +00:00
michael
b9158ed311 * Fix bug #37830, always append dot even if signature empty
git-svn-id: trunk@46984 -
2020-09-28 07:50:08 +00:00
Károly Balogh
9f8417ba52 z80: added handling of sections provided by the startup code to the vlink linker script. this fixes executable building, but the resulting executables still don't work at this point
git-svn-id: trunk@46980 -
2020-09-27 22:58:01 +00:00
Károly Balogh
aa745e0319 z80: re-enabled af_smartlink_sections for vasm which is required for the vasm + vlink combo, partially reverting r46916
git-svn-id: trunk@46979 -
2020-09-27 22:55:59 +00:00
Károly Balogh
7c195d2062 z80: cleaned up some tabs vs. spaces indentation mess in the vasm writer. no functional change.
git-svn-id: trunk@46978 -
2020-09-27 22:52:06 +00:00
florian
bb92fbafa0 patch by J. Gareth Moreton: GetNextInstructionUsingReg drops out earlier, second part of #37526
git-svn-id: trunk@46976 -
2020-09-27 21:05:43 +00:00
florian
eec51afadd * patch (with little modification) by J. Gareth Moreton: refactor ARM/Aarch64 peephole optimizer, first part of #37526
git-svn-id: trunk@46975 -
2020-09-27 21:05:42 +00:00
florian
e1536bdf26 * when implicit try...finallys are turned off, do not throw an error if a procedure
is left which would need but does not have an implicit try...finally block, resolves #37823

git-svn-id: trunk@46974 -
2020-09-27 16:53:59 +00:00
florian
a628c1c3dd * if an array constructor is passed to a formaldef parameter, it is passed as a set (if the conversion is possible), resolves #37796
git-svn-id: trunk@46973 -
2020-09-27 16:37:20 +00:00
florian
4c1978c131 * reported by Bart on the mailing list: insert empty line to make clear to which function the comment applies
git-svn-id: trunk@46972 -
2020-09-27 13:05:36 +00:00
Mattias Gaertner
ea0fb9a8b4 pastojs: specialize with interface constraints, issue #37690
git-svn-id: trunk@46971 -
2020-09-27 08:21:21 +00:00
Mattias Gaertner
35f59b6736 pastojs: shortrefglobals: local recordtype
git-svn-id: trunk@46969 -
2020-09-26 22:56:41 +00:00
Mattias Gaertner
7945631ff1 pastojs: clean up
git-svn-id: trunk@46968 -
2020-09-26 22:36:55 +00:00
Mattias Gaertner
d5d9635cd9 fcl-passrc: clean up
git-svn-id: trunk@46967 -
2020-09-26 22:36:45 +00:00
Mattias Gaertner
c1e700b3fe fcl-js: clean up
git-svn-id: trunk@46966 -
2020-09-26 22:36:30 +00:00
Mattias Gaertner
8246aae1ae fcl-passrc: fixed compile with pas2js
git-svn-id: trunk@46965 -
2020-09-26 22:27:57 +00:00
Mattias Gaertner
4d4cdfb804 pastojs: ShortRefGlobals: same module class, record and enumtype
git-svn-id: trunk@46964 -
2020-09-26 22:03:13 +00:00
florian
7f53d04ffd + xtensa: make use of nsau to implement Bsr*
git-svn-id: trunk@46963 -
2020-09-26 22:03:13 +00:00
florian
1c370ccde1 + xtensa: make use of float.s instruction
git-svn-id: trunk@46962 -
2020-09-26 20:12:29 +00:00
florian
4ced513363 * xtensa-freertos: run python helpers only on non unix by directly calling python
git-svn-id: trunk@46961 -
2020-09-26 20:12:28 +00:00