Commit Graph

60219 Commits

Author SHA1 Message Date
michael
81bc4d9fec * Fix compilation on non-windows
git-svn-id: trunk@46941 -
2020-09-24 10:09:04 +00:00
michael
f44ce539a3 * Enable all tests
git-svn-id: trunk@46940 -
2020-09-24 10:08:46 +00:00
michael
409dacf52f * Fix lineending being converted to LF char in comments, patch by Joe Care (Bug ID 37808)
git-svn-id: trunk@46939 -
2020-09-24 10:02:34 +00:00
pierre
78dca42b0e Use sdasz80 instead of sdcc-sdasz80 to assemble prt0.asm, as sdasz80 is used by ppcz80
git-svn-id: trunk@46938 -
2020-09-24 10:00:53 +00:00
michael
0ef66a8631 * Fix from Joe care to implement .) as alternative for ], bug ID #37807
git-svn-id: trunk@46937 -
2020-09-24 09:56:48 +00:00
pierre
85f14ad357 Change list of compiled units for msxdos
git-svn-id: trunk@46936 -
2020-09-24 09:49:33 +00:00
pierre
d52aaf63eb msxdos target uses same __fpc_envp symbol as msdos
git-svn-id: trunk@46935 -
2020-09-24 09:48:49 +00:00
joost
69b1d61a76 * TPasParser.ParseAdhocExpression implemented + test
git-svn-id: trunk@46933 -
2020-09-23 21:39:24 +00:00
florian
dfc485c4f4 * better error message in case of illegal nodes for string constants, resolves #34054
git-svn-id: trunk@46931 -
2020-09-23 20:25:04 +00:00
Mattias Gaertner
5cde0fc1e2 pastojs: fixed spezialize other unit generic with param in unit intf of spezialize, issue #37762
git-svn-id: trunk@46930 -
2020-09-23 15:48:21 +00:00
Mattias Gaertner
135f3745d6 pastojs: docs
git-svn-id: trunk@46929 -
2020-09-23 14:35:38 +00:00
Mattias Gaertner
cf4ca3a280 pastojs: optimization ShortRefGlobals
git-svn-id: trunk@46928 -
2020-09-23 14:32:47 +00:00
Mattias Gaertner
755773caad pastojs: optimization ShortRefGlobals
git-svn-id: trunk@46927 -
2020-09-23 14:31:17 +00:00
Mattias Gaertner
54f08ea60f pastojs: set $ancestor of pascal descending of external class to null
git-svn-id: trunk@46926 -
2020-09-23 14:30:39 +00:00
pierre
37f1d08510 Fix problems in xtensa fpc_setjmp/fpc_longjmp for linux
git-svn-id: trunk@46925 -
2020-09-23 12:07:06 +00:00
Mattias Gaertner
56fbaf23da fcl-passrc: comments
git-svn-id: trunk@46919 -
2020-09-22 21:20:29 +00:00
florian
e33f794eb6 * correctly handle eof in typed files in iso mode
git-svn-id: trunk@46918 -
2020-09-22 19:51:43 +00:00
florian
4de5195a9a + modified patch by J. Gareth Moreton: Aarch64: LDR/STR pairing optimisation, resolves #37580
git-svn-id: trunk@46917 -
2020-09-22 19:51:42 +00:00
pierre
74e83e9d8b Disable af_smartlink_sections option for Z80 vasm and z80asm assemblers, as it leads to errors
git-svn-id: trunk@46916 -
2020-09-22 15:44:15 +00:00
svenbarth
ff4e1345ff * fix for Mantis #37779: use init RTTI instead of full RTTI when copying an array
+ added test

git-svn-id: trunk@46915 -
2020-09-21 20:17:55 +00:00
florian
9d6e34ffc8 * compilation on i386 fixed
git-svn-id: trunk@46914 -
2020-09-21 19:46:47 +00:00
florian
7107c39440 * search also /usr/lib64 for libraries etc. on aarch64-linux, apparently some distros use it
git-svn-id: trunk@46913 -
2020-09-21 17:57:19 +00:00
florian
b55c740702 * extended AndMovzToAnd to support more variants
git-svn-id: trunk@46912 -
2020-09-21 17:57:19 +00:00
florian
08b61997ca * MovzAnd2Movz* optimization improved
+ MovzAnd2And optimization introduced

git-svn-id: trunk@46911 -
2020-09-21 17:57:18 +00:00
pierre
6902539bd8 Disable ucomplex and matrix units for z80-embedded target
git-svn-id: trunk@46909 -
2020-09-21 13:43:39 +00:00
florian
0bdc1fdea4 * do not set nonlocal for inter-procedural labels, this is not needed, they use
the jmpbuf to reach the target

git-svn-id: trunk@46907 -
2020-09-20 18:57:00 +00:00
Jonas Maebe
0904ea0c3f * added missing "end." (fixup for r46904)
git-svn-id: trunk@46906 -
2020-09-20 12:43:49 +00:00
Jonas Maebe
aa75d39ab5 * don't perform "(x=y) or (z=u)" -> "(x xor y) or (z xor u)" optimization
if z or u may raise exceptions (mantis #37780)

git-svn-id: trunk@46905 -
2020-09-20 12:43:45 +00:00
Jonas Maebe
9f42931eeb * don't print range check warnings when evaluating inlined explicit typecasts
git-svn-id: trunk@46904 -
2020-09-20 10:29:51 +00:00
florian
e83d214e98 + allow in ISO mode that { ... } and (* ... *) comments are paired, resolves at least partly #37428
git-svn-id: trunk@46903 -
2020-09-20 08:47:00 +00:00
Mattias Gaertner
85a11c8204 fcl-passrc: resolver: fixed inteface constraints, iisue #37624
git-svn-id: trunk@46902 -
2020-09-19 23:41:36 +00:00
svenbarth
2c372071fd * correctly handle static arrays with a lower index <> 0
+ added test

git-svn-id: trunk@46901 -
2020-09-19 21:20:07 +00:00
florian
449cc8f152 * make use of AllocMem in fpc_dynarray_setlength
git-svn-id: trunk@46900 -
2020-09-19 21:06:11 +00:00
svenbarth
0c316deab5 * readd SmallInt typecasts to SmallInt overload of SwapEndian
git-svn-id: trunk@46898 -
2020-09-19 17:42:04 +00:00
svenbarth
9d86fed95b * avoid range check error when using SwapEndian with 16-bit constants
+ added test

git-svn-id: trunk@46897 -
2020-09-19 17:04:17 +00:00
Jonas Maebe
74a641344a * renamed WebFrame.DOMDocument_ back to DOMDocument after 10.10 update
(mantis #37769)

git-svn-id: trunk@46896 -
2020-09-19 16:17:10 +00:00
svenbarth
15141124f4 * restore ability to cycle with 3.0.4 (at least until 3.2.2 is released) after r46890
git-svn-id: trunk@46895 -
2020-09-19 13:54:25 +00:00
florian
b596b71130 * patch by Joe care to make fv more 64 Bit save, resolves #37772
git-svn-id: trunk@46893 -
2020-09-18 19:28:53 +00:00
svenbarth
bf1eae7bd6 * small formatting adjustments for the sake of consistency
git-svn-id: trunk@46892 -
2020-09-18 15:00:17 +00:00
svenbarth
2ff18e48a0 * fix for Mantis #36909: apply patch by Ryan Joseph so that array constructors can be used for static arrays as well.
+ added test

git-svn-id: trunk@46891 -
2020-09-18 15:00:15 +00:00
svenbarth
d3e18ccb5e * fix for Mantis #37221: apply adjusted patch by Ondrej Pokorny to allow the use of Copy() on open array parameters (the result will be a dynamic array)
+ added test

git-svn-id: trunk@46890 -
2020-09-18 15:00:10 +00:00
michael
f8b5c81b8b * Avoid double begin/end
git-svn-id: trunk@46889 -
2020-09-18 14:30:39 +00:00
Károly Balogh
de180d7656 * m68k: fix index register usage in memory references, when the index is 8 or 16 bit wide and unsigned
git-svn-id: trunk@46886 -
2020-09-17 20:51:25 +00:00
florian
60bd9c5ba0 * write a proper error message if types are read/written which are not supported in iso mode, resolves #37763
git-svn-id: trunk@46885 -
2020-09-17 19:58:55 +00:00
michael
e2647ea072 * Fix bug ID #0037760
git-svn-id: trunk@46884 -
2020-09-17 08:21:15 +00:00
pierre
f316121d53 Add handling of extra parameters, using eval if equal sign is found.
+ Add TMP_DIR variable and use it.
  * Only remove temp files if verbose is not set.

git-svn-id: trunk@46883 -
2020-09-16 20:44:44 +00:00
pierre
2b023c62c5 Do not set __USE_LARGEFILE64 macro for sparc CPU, as it does not seem to be used for regular linux kernels
git-svn-id: trunk@46882 -
2020-09-16 20:40:36 +00:00
pierre
16bdee8fcb Update revision.inc after commit #46877
git-svn-id: trunk@46881 -
2020-09-16 20:37:04 +00:00
florian
9a573173dd * Aarch64: fix Math.SetExceptionMask for implementations throwing hardware
exceptions

git-svn-id: trunk@46880 -
2020-09-16 20:08:11 +00:00
michael
48c86637b4 * Patch from Joe Care to fix bug ID #37758 (wrong brackets for array params)
git-svn-id: trunk@46878 -
2020-09-16 19:17:12 +00:00