ondrej
77fecff30e
TStrings.SaveToStream(TStream): use FEncoding as the default for IgnoreEncoding=False so that loaded files are correctly resaved
...
git-svn-id: trunk@43948 -
2020-01-14 15:33:53 +00:00
ondrej
461a648f67
TStrings: default options:
...
* remove soWriteBOM for FPC backwards compatibility
* add soPreserveBOM so that a loaded file is correctly resaved
git-svn-id: trunk@43947 -
2020-01-14 15:30:38 +00:00
ondrej
c3f8b7c914
Revert r43942: TStrings: old SaveToFile(string) and SaveToStream(TStream) should ignore Encoding and stay backwards compatible within FPC. Use the other overloads for Encoding-aware SaveTo* methods
...
git-svn-id: trunk@43946 -
2020-01-14 15:17:30 +00:00
ondrej
6ed89d4101
TStrings: add missing SaveToFile overload with IgnoreEncoding parameter
...
git-svn-id: trunk@43945 -
2020-01-14 15:16:04 +00:00
ondrej
7dba9f0294
TStrings: old SaveToFile(string) and SaveToStream(TStream) should ignore Encoding and stay backwards compatible within FPC. Use the other overloads for Encoding-aware SaveTo* methods
...
git-svn-id: trunk@43942 -
2020-01-14 10:47:13 +00:00
ondrej
98a494c5d6
TIniFile: allow to set Encoding
...
git-svn-id: trunk@43939 -
2020-01-14 10:30:23 +00:00
ondrej
af98f78c63
TIniFile: fix encoding support:
...
* preserve loaded encoding (regression from r42932, issue #36052 )
* preserve BOM of the original file.
git-svn-id: trunk@43938 -
2020-01-14 10:13:58 +00:00
ondrej
6385d582bb
IniFiles: fix OwnsEncoding default values
...
git-svn-id: trunk@43937 -
2020-01-14 08:51:59 +00:00
ondrej
0c528a911d
TIniFile: remove obsolete FBOM (it will be implemented with TEncoding support)
...
git-svn-id: trunk@43936 -
2020-01-14 08:44:35 +00:00
Jeppe Johansen
2678522db5
- RISC-V: Add controller types for common RV32 MCUs.
...
- Adds initial controller units for these MCUs.
Code contributed by Michael Ring
git-svn-id: trunk@43935 -
2020-01-13 22:54:26 +00:00
Jeppe Johansen
02c3f328a2
- RISC-V: Share optimizations between 32 and 64-bit.
...
git-svn-id: trunk@43934 -
2020-01-13 22:49:23 +00:00
Jeppe Johansen
7cfb87b325
- Handle jump optimizations on RISC-V
...
git-svn-id: trunk@43933 -
2020-01-13 22:42:39 +00:00
florian
931d4dcfee
* ensure the rtl and the packages for embedded compile with features exceptions and classes disabled
...
git-svn-id: trunk@43931 -
2020-01-13 21:20:03 +00:00
michael
91f416fa80
* Fix from Pascal Riekenberg to fix nested groups (bug ID 36532)
...
git-svn-id: trunk@43930 -
2020-01-13 21:14:41 +00:00
ondrej
34fecf90f3
SysUtils: add ExpandFileName with a BasePath overload
...
git-svn-id: trunk@43928 -
2020-01-13 12:36:35 +00:00
florian
9926eb8dc6
* patch by Christo Crause: Passing a file name with extension to cross compiler
...
with -o causes error, fixed, resolves #36562
git-svn-id: trunk@43921 -
2020-01-12 20:57:52 +00:00
florian
5a1e6c2e91
* compilation on i386 fixed
...
git-svn-id: trunk@43920 -
2020-01-12 12:00:44 +00:00
florian
2b70c64d09
* patch by J. Gareth Moreton: Some cleaning up of OptPass2JMP and OptPass2MOV, resolves #36553
...
git-svn-id: trunk@43919 -
2020-01-12 10:33:21 +00:00
florian
124c64152d
* patch by J. Gareth Moreton: EAX -> EDX:EAX sign extension shortcuts, and MOVSX shortcuts for AX register, part 2 of #36551
...
git-svn-id: trunk@43918 -
2020-01-12 09:20:01 +00:00
florian
236c11ef71
* patch by J. Gareth Moreton: EAX -> EDX:EAX sign extension shortcuts, and MOVSX shortcuts for AX register, part 1 of #36551
...
git-svn-id: trunk@43917 -
2020-01-12 09:20:00 +00:00
florian
1ceb5ea343
+ lazarus project
...
git-svn-id: trunk@43916 -
2020-01-11 22:45:32 +00:00
joost
0c4fee714e
* Removed some left-overs of dependencies on specific versions of packages
...
git-svn-id: trunk@43915 -
2020-01-11 21:46:51 +00:00
florian
007df5d0fa
* fix for #36554
...
git-svn-id: trunk@43913 -
2020-01-11 21:15:19 +00:00
florian
aabd7c7217
* more fixes for loop strength reduction
...
git-svn-id: trunk@43912 -
2020-01-11 20:37:05 +00:00
florian
a9a711763f
* some fixes to loop strength reduction
...
git-svn-id: trunk@43911 -
2020-01-11 16:08:46 +00:00
florian
2f2b378c03
* moved conversion of for into while loops in a separate pass, so node optimizations on the node tree can be
...
carried out without losing information from for loops
git-svn-id: trunk@43910 -
2020-01-11 16:08:45 +00:00
pierre
3b39ec84e4
Examine all exception bits in m68k fpsr register to decide which into which run time error it is converted
...
git-svn-id: trunk@43909 -
2020-01-10 22:58:34 +00:00
pierre
90d2982977
Wipe out any pre-existing exception on SetExceptionMask call for m68k cpu
...
git-svn-id: trunk@43908 -
2020-01-10 22:56:03 +00:00
florian
6f87a572af
* factored out tcgprocinfo.OptimizeNodeTree
...
git-svn-id: trunk@43907 -
2020-01-10 21:47:20 +00:00
florian
f424ae3929
- cleanup comment
...
git-svn-id: trunk@43906 -
2020-01-10 21:34:30 +00:00
florian
30e186be78
* renamed sum -> defsum to avoid confusion with usesum
...
git-svn-id: trunk@43905 -
2020-01-10 21:34:30 +00:00
florian
b5659df425
+ CalcUseSum: calculates a sum of all use sets of the current node and its children
...
git-svn-id: trunk@43904 -
2020-01-10 21:34:29 +00:00
svenbarth
7a0a1d9f36
* fix for Mantis #36544 : provide an overall exception handler for the library startup code in case of unhandled exceptions (the loading of the library is considered failed in that case) when SEH is active
...
+ added test
git-svn-id: trunk@43901 -
2020-01-10 15:39:20 +00:00
michael
8700f1d090
* Patch from Pascal Riekenberg to allow saving rendered report to JSON (bug ID 36547)
...
git-svn-id: trunk@43900 -
2020-01-10 13:44:10 +00:00
michael
52c32837d1
* Fix from Pascal Riekenberg to fix failing tests
...
git-svn-id: trunk@43899 -
2020-01-10 13:35:01 +00:00
florian
3335104da2
* get paramstr(0) only if really needed
...
git-svn-id: trunk@43898 -
2020-01-09 20:35:37 +00:00
pierre
22806e31c3
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 -
2020-01-09 14:40:44 +00:00
pierre
3eb14dd722
Avoid using <> for floating point values, check that abs of difference is small instead (fixes m68k 'pseudo-failure')
...
git-svn-id: trunk@43896 -
2020-01-09 14:38:58 +00:00
michael
3578510884
* Do not raise error in case of warning (bug ID 36541)
...
git-svn-id: trunk@43895 -
2020-01-09 09:52:25 +00:00
pierre
6929da66a8
+ Enable FPU exception handling for m68k processor
...
git-svn-id: trunk@43894 -
2020-01-08 23:09:21 +00:00
pierre
d8298c9f14
Try to correctly handle m68k exceptions bits inside SetExceptionMask function
...
git-svn-id: trunk@43893 -
2020-01-08 23:08:30 +00:00
joost
be301a3aed
* Pass INSTALL_LIBDIR to fpmake
...
git-svn-id: trunk@43892 -
2020-01-08 22:25:19 +00:00
michael
76bad447b2
* Fix from Pascal Riekenberg to fix missing assign of columngap (bug ID 36537)
...
git-svn-id: trunk@43891 -
2020-01-08 19:37:48 +00:00
Mattias Gaertner
513d89757b
pastojs: filer: read/write assign, asm, repeat, if
...
git-svn-id: trunk@43890 -
2020-01-08 16:22:12 +00:00
michael
873305e9ee
* Reset parent font when needed. Patch by Pascal Riekenberg (bug ID 36531)
...
git-svn-id: trunk@43889 -
2020-01-08 14:16:51 +00:00
florian
11287f018f
* explicitly emit a sub instruction in tx86inlinenode.second_high, resolves #36530
...
git-svn-id: trunk@43888 -
2020-01-07 21:46:07 +00:00
Jonas Maebe
7a3a4244d1
* accept locals replaced by symbols in inline assembly by the LLVM code
...
generator in the AArch64 assembler writer
git-svn-id: trunk@43887 -
2020-01-07 20:22:23 +00:00
Jonas Maebe
3abdec9c95
* LLVM/AArch64: don't perform the parameter location extension workarounds
...
for LLVM, as that results in LLVM assuming exactly the opposite of
what's intended (namely that the extended locations contain valid
rather than invalid bits)
git-svn-id: trunk@43886 -
2020-01-07 20:22:20 +00:00
Jonas Maebe
31ef82b9c6
* constrained sitofp is not yet supported in LLVM for all targets
...
git-svn-id: trunk@43885 -
2020-01-07 20:22:17 +00:00
Jonas Maebe
9462d6b1ea
* handle non-smallset sets in registers in LLVM like arrays and records
...
git-svn-id: trunk@43884 -
2020-01-07 20:22:13 +00:00