Commit Graph

60806 Commits

Author SHA1 Message Date
pierre
9a0107a19d Fix compilation failure for avr compiler with -dDEBUG_NODE_XML, to fix bug report 38222
git-svn-id: trunk@47783 -
2020-12-16 00:07:39 +00:00
florian
aeff5b3577 * improved change information
git-svn-id: trunk@47781 -
2020-12-15 21:33:33 +00:00
florian
2e2f2eb784 - remove could which prevented that rte is triggered even if we are inside
an exception block but *without* using sysutils. The remove code
    was once added to have primitive exception handling even if
    no sysutils is used. But if this is desired, an appropriate handler
    to ErrorProc should be assigned. Resolves #38201

git-svn-id: trunk@47775 -
2020-12-14 21:55:42 +00:00
florian
00af340feb * cleanup
git-svn-id: trunk@47774 -
2020-12-14 21:55:41 +00:00
pierre
eb722c8294 Fix ash_savefregp_x handling, as revealed by range check error
git-svn-id: trunk@47773 -
2020-12-14 11:21:10 +00:00
michael
6668e265e8 * Allow appending files
git-svn-id: trunk@47770 -
2020-12-13 11:57:58 +00:00
florian
6d7d567a25 * min/max optimization on x86 can be applied now without fastmath as NaN is handled properly now
git-svn-id: trunk@47769 -
2020-12-13 09:52:45 +00:00
florian
b90ec52a0e * x86: apply VOpVmov2VOp optimization to vmins*/vmaxs*
git-svn-id: trunk@47768 -
2020-12-13 09:52:45 +00:00
florian
88a0d4d64b + optimize if x>a then x:=a; into min(a,x);, similiar for max
* test extended

git-svn-id: trunk@47767 -
2020-12-13 09:52:44 +00:00
florian
53a4e6c513 * patch by Zoran Vučenović: fixes TDoubleRec.SetFrac, resolves #38202
+ test

git-svn-id: trunk@47765 -
2020-12-12 21:39:17 +00:00
florian
c82aae59a1 * call node_complexity correctly in order_parameters when sorting parameters
git-svn-id: trunk@47763 -
2020-12-11 22:14:18 +00:00
florian
0ab69ea0ad + m68k: LEA, MOVE(M) to MOVE(M) predecremented optimization and MOVE(M), LEA to MOVE(M) postincremented optimization
git-svn-id: trunk@47762 -
2020-12-11 22:14:17 +00:00
florian
a0a8a6911a * m68k: proper values for first_*_reg
git-svn-id: trunk@47761 -
2020-12-11 22:14:16 +00:00
Mattias Gaertner
879bc83d7b pastojs: fixed record member type
git-svn-id: trunk@47760 -
2020-12-11 20:04:02 +00:00
Mattias Gaertner
7e1cb64d5d pastojs: fixed unit without implementation
git-svn-id: trunk@47759 -
2020-12-11 17:33:45 +00:00
Mattias Gaertner
508d4baa68 fcl-passrc: resolver: fixed unit without implementation
git-svn-id: trunk@47758 -
2020-12-11 17:32:51 +00:00
florian
f0298f63d0 * allow absolute variables with an address to be used as syscall base
git-svn-id: trunk@47757 -
2020-12-11 17:32:41 +00:00
yury
67284c7452 + Added a test for proper setting of fc_no_direct_exit in flowcontrol.
git-svn-id: trunk@47755 -
2020-12-11 14:17:18 +00:00
michael
3db8f5c91f * Fix compilation
git-svn-id: trunk@47754 -
2020-12-11 13:34:44 +00:00
pierre
0d592e8d1a * Try to read command line exec name on linux, using argv[0], in order to be able
to use the symbolic link name instead of the real executable name.
    This allows to use symbolic links to gppc386, named gppc1
    to be able to launch ppc1 under gdb, as it is already possible
    under OpenBSD (which returns the command line name via paramstr(0),
    or under Windows if <SYMLINK> is used (generated by mklink).
  + Generate errors if compiler executable is not found, or if gdb binary
    is not found.

git-svn-id: trunk@47753 -
2020-12-11 11:14:33 +00:00
michael
729c1dee8c * Fix bug ID #38193: order on darwin is same as openbsd
git-svn-id: trunk@47752 -
2020-12-11 09:14:25 +00:00
florian
817ef6949a * m68k: MOVE, TST, Jxx/Sxx to MOVE, Jxx optimization
git-svn-id: trunk@47751 -
2020-12-10 21:51:26 +00:00
florian
bb8c3fd153 * made optimization JSR, RTS to JMP more bullet proof, added comment
git-svn-id: trunk@47750 -
2020-12-10 21:09:20 +00:00
yury
8b7c5666a2 * Renamed fc_block_with_exit to fc_no_direct_exit to expand its usage.
* Set fc_no_direct_exit in case when a routine has an additional implicit exit code, such as calling FreeInstance in the destructor.

git-svn-id: trunk@47749 -
2020-12-10 17:38:37 +00:00
ondrej
6eb37beb24 win32: SysErrorMessage: ignore inserts (when not used the messages with inserts are empty) and allocate message buffer
git-svn-id: trunk@47748 -
2020-12-10 17:04:12 +00:00
svenbarth
1efeb5851a * fix regression introduced with r47625 for Mantis #38122: when checking for a dereferentiation of the Self parameter subscript and vec nodes need to be kept
+ added test

git-svn-id: trunk@47747 -
2020-12-10 06:11:46 +00:00
Károly Balogh
2bd7877ec0 amiga: fixed the recently added link map generation to work properly. needs recent vlink to work
git-svn-id: trunk@47746 -
2020-12-10 04:56:26 +00:00
Károly Balogh
7f96a26de0 m68k: in g_concatcopy, check the actual alignment of references being copied rather than always excluding word and dword sized direct copies on a 68000
git-svn-id: trunk@47744 -
2020-12-10 04:17:06 +00:00
michael
7f2c8857da * Endianness
git-svn-id: trunk@47743 -
2020-12-09 23:33:53 +00:00
Mattias Gaertner
07819e0115 pastojs: precompiled code: always store with unix line ending, write with platform line ending
git-svn-id: trunk@47742 -
2020-12-09 21:42:20 +00:00
Mattias Gaertner
2df2986a4b fcl-js: added TTextWriter.LineBreak
git-svn-id: trunk@47741 -
2020-12-09 21:42:13 +00:00
florian
a849e51a3c + m68k: JSR, RTS to JMP optimization
git-svn-id: trunk@47740 -
2020-12-09 20:57:06 +00:00
Mattias Gaertner
5682783489 fcl-passrc: clean up
git-svn-id: trunk@47739 -
2020-12-09 20:51:20 +00:00
Mattias Gaertner
7540f10aa6 pastojs: shortrefglobals: enumvalue
git-svn-id: trunk@47738 -
2020-12-09 20:47:19 +00:00
pierre
a0e96fd551 Fix pos field closing in XML node output after commit 47720
git-svn-id: trunk@47737 -
2020-12-09 12:36:46 +00:00
michael
3a952d9346 * Fix from Pascal Riekenberg
git-svn-id: trunk@47736 -
2020-12-09 10:55:09 +00:00
michael
97341c24fb * Actually allow multilinestrings
git-svn-id: trunk@47734 -
2020-12-09 09:12:21 +00:00
michael
9766bd6533 * Small fix, refactoring broke linefeed
git-svn-id: trunk@47733 -
2020-12-09 09:11:38 +00:00
michael
63a21876c8 * Fix compilation
git-svn-id: trunk@47732 -
2020-12-09 08:54:55 +00:00
michael
9e238f4724 * Multiline strings and INCLUDESTRING(FILE)
git-svn-id: trunk@47731 -
2020-12-09 01:09:21 +00:00
florian
3707cb4b1e * handle min/max properly if it is applied to NaNs
* test extended

git-svn-id: trunk@47729 -
2020-12-08 20:41:58 +00:00
michael
8fd3beb35b * Fix compilation
git-svn-id: trunk@47728 -
2020-12-08 20:35:41 +00:00
michael
b27054e170 * Parse Apple universal interfaces
git-svn-id: trunk@47724 -
2020-12-08 16:25:50 +00:00
Mattias Gaertner
2421d6ab15 fcl-passrc: useanalyzer: when member needs typeinfo, mark parent too
git-svn-id: trunk@47722 -
2020-12-08 11:52:47 +00:00
Mattias Gaertner
bc88571884 pastojs: clean up
git-svn-id: trunk@47721 -
2020-12-08 11:52:07 +00:00
pierre
348be7657d Fix bug introduced in commit #47709, by only calling node_complexity if first pass was already done (bug report 38183)
git-svn-id: trunk@47720 -
2020-12-08 11:28:50 +00:00
michael
9ac84262f6 * Last patch from Andrey Sobol to fix bug ID #38141
git-svn-id: trunk@47719 -
2020-12-08 09:49:44 +00:00
florian
674c3f04e0 + added explanation for min/max intrinsics
* prepared x86 implementation for proper NaN handling

git-svn-id: trunk@47715 -
2020-12-07 21:31:07 +00:00
Mattias Gaertner
18919b774d pastojs: fixed writing map file when OnWriteJS handler returns true
git-svn-id: trunk@47714 -
2020-12-07 18:49:54 +00:00
Mattias Gaertner
dbdd90a989 pastojs: on handled error set LastErrorClass empty
git-svn-id: trunk@47713 -
2020-12-07 17:06:58 +00:00