Commit Graph

58044 Commits

Author SHA1 Message Date
florian
af1a4c06c5 * fixed generic round(...) for large values based on a comment by Alexander Hofmann on fpc-devel
* extended test

git-svn-id: trunk@44235 -
2020-02-23 10:41:18 +00:00
florian
2acc6337d8 * debug statement removed
git-svn-id: trunk@44234 -
2020-02-22 22:38:36 +00:00
florian
4dff373fef * (modified) patch by J. Gareth Moreton: processor-aware MOVZX optimisation cleanup, resolves #36687
git-svn-id: trunk@44233 -
2020-02-22 18:37:38 +00:00
Jonas Maebe
dce9a62eb4 * fixed ifdef after upgrade to 10.10 headers (patch by Hans Luijten,
mantis #36420)

git-svn-id: trunk@44231 -
2020-02-22 16:22:13 +00:00
florian
c146aecc01 * throw an error if the forward interface type and the actual interface type do not match, resolves #36720
git-svn-id: trunk@44230 -
2020-02-21 20:35:27 +00:00
florian
66aa2e1416 * fixed tests for architectures with FPC_COMP_IS_INT64 defined
git-svn-id: trunk@44222 -
2020-02-20 20:51:46 +00:00
joost
7e952bf5c1 * Fixed escaping of characters inside .tar archives.
Solves an error-message in the install.sh script

git-svn-id: trunk@44221 -
2020-02-20 16:13:31 +00:00
Mattias Gaertner
1bf392a726 pas2js: typeinfo(specialization)
git-svn-id: trunk@44220 -
2020-02-20 10:35:44 +00:00
Mattias Gaertner
b802ee6450 pas2js: not storing specialized elements
git-svn-id: trunk@44219 -
2020-02-20 09:29:10 +00:00
florian
49f789b92a * reverted accidently committed changes again
git-svn-id: trunk@44218 -
2020-02-19 21:12:23 +00:00
florian
bb6028a275 * AArch64: the PIC code needs also more registers, so use the same ifdefs as arm and sparc
git-svn-id: trunk@44217 -
2020-02-19 21:10:20 +00:00
florian
95e8992e2f + AArch64: profiler support for aarch64-linux
git-svn-id: trunk@44216 -
2020-02-19 21:10:19 +00:00
pierre
346118187b Fix linking error, in which libc.so.6 is not found on aarch64-linux when libdl.so is loaded, by adding appropriate directory
git-svn-id: trunk@44215 -
2020-02-19 15:33:11 +00:00
florian
200de64085 * aarch64 suffers also from the limited tan precision of the softfpu
git-svn-id: trunk@44212 -
2020-02-18 21:37:06 +00:00
marco
5d0c9cee9d * fix mantis #36708, take care of high word buttons variable.
git-svn-id: trunk@44210 -
2020-02-18 15:01:07 +00:00
Mattias Gaertner
5ef735ca11 fcl-passrc: resolver: check proc args procedural type by signature in mode objfpc
git-svn-id: trunk@44208 -
2020-02-18 10:16:03 +00:00
Mattias Gaertner
06a6bfd981 fcl-passrc: on incompatible procedural arg types write params
git-svn-id: trunk@44207 -
2020-02-18 09:50:47 +00:00
florian
2214677656 * tests need -CE
git-svn-id: trunk@44206 -
2020-02-17 20:36:35 +00:00
florian
3099e10f41 * revert accidently committed code
git-svn-id: trunk@44205 -
2020-02-17 20:12:53 +00:00
florian
e50c4f6373 + AAarch64: optimize divisions by constant
git-svn-id: trunk@44204 -
2020-02-17 20:11:32 +00:00
Mattias Gaertner
f05b51d7d8 fcl-passrc: forbid type reference to TGeneric.Something
git-svn-id: trunk@44203 -
2020-02-17 12:15:56 +00:00
Mattias Gaertner
40a975b803 fcl-passrc: fixed alias type of member type
git-svn-id: trunk@44202 -
2020-02-17 11:40:50 +00:00
Mattias Gaertner
8013a778f9 fcl-passrc: resolver: show params of incompatible procedural types
git-svn-id: trunk@44201 -
2020-02-17 11:21:29 +00:00
ondrej
a5ed5bd942 TFileStream: use SysErrorMessage in exception message if available
git-svn-id: trunk@44200 -
2020-02-17 08:35:15 +00:00
florian
93521ae8e8 * fold also pointer additions/subtractions
git-svn-id: trunk@44199 -
2020-02-16 20:14:28 +00:00
florian
17158c3587 * mmap2 expects that offset is divided by 4096
git-svn-id: trunk@44198 -
2020-02-16 20:14:28 +00:00
florian
27e89e07a3 * in case a 32x32 -> 64 multiplication is converted into shl, the type casts need to be restored
git-svn-id: trunk@44197 -
2020-02-16 20:14:27 +00:00
florian
9989d408fd * AArch64 and i386: omit exit stackframe, same as r44191 for x86-64
git-svn-id: trunk@44196 -
2020-02-16 20:14:26 +00:00
Jonas Maebe
3188dc18d4 * fixed tdel1/2 tests again for AArch64/LLVM
git-svn-id: trunk@44195 -
2020-02-16 16:58:25 +00:00
florian
88836b467e * (V)MOVA*(V)MOVS*2(V)MOVS* 1 optimization
git-svn-id: trunk@44194 -
2020-02-16 16:43:26 +00:00
joost
cefc90f87c * Include ssl-support in fppkg
git-svn-id: trunk@44193 -
2020-02-16 15:11:25 +00:00
florian
42324235bd + CallRet2Call optimization
git-svn-id: trunk@44192 -
2020-02-16 13:15:12 +00:00
florian
ef3155c2ef * there is no exit stackframe needed if a subroutine never returns
git-svn-id: trunk@44191 -
2020-02-16 13:06:19 +00:00
florian
b8a7473fec * hopefully finally fix of r44186
git-svn-id: trunk@44190 -
2020-02-16 12:48:39 +00:00
svenbarth
2ad3c6dd97 * fix global generic functions with constraints in mode Delphi by handling implementations with defines outside of parse_generic_parameters
+ added tests

git-svn-id: trunk@44189 -
2020-02-16 09:53:37 +00:00
svenbarth
41a6957f7d * keep track of the fileposinfo for generic constraints
git-svn-id: trunk@44188 -
2020-02-16 09:53:32 +00:00
pierre
314c4552e5 Revert part of previous commit, not related to typos fixes
git-svn-id: trunk@44187 -
2020-02-16 09:33:10 +00:00
Tomas Hajny
ade50d3b50 * fix typo
git-svn-id: trunk@44186 -
2020-02-16 00:29:47 +00:00
florian
892454ff17 * patch by J. Gareth Moreton: optimize MOVSXD as well, resolves #36700
git-svn-id: trunk@44185 -
2020-02-15 20:53:40 +00:00
florian
e350264db1 + propagate constants across call nodes
git-svn-id: trunk@44184 -
2020-02-15 18:27:22 +00:00
joost
a0ed685036 * Fixed the assignment of licenses of packages
git-svn-id: trunk@44183 -
2020-02-15 17:24:15 +00:00
michael
4fc7958093 * Fix bug ID #36701
git-svn-id: trunk@44182 -
2020-02-15 15:47:39 +00:00
michael
e47378b5d0 * Correct typo
git-svn-id: trunk@44181 -
2020-02-15 14:18:42 +00:00
florian
3947922fea * set nf_* correctly when an inc/dec node is converted into an add/sub node
* do not firstpass during dead store removal as it disturbes the for each calls

git-svn-id: trunk@44180 -
2020-02-15 13:53:16 +00:00
michael
f32d7898f8 * Fix bug ID #36603
git-svn-id: trunk@44179 -
2020-02-15 13:18:23 +00:00
marco
6c0a15eb09 * fix mkparsedisplayname 3rd parameter, and overload the alternative.
git-svn-id: trunk@44178 -
2020-02-15 13:01:04 +00:00
florian
fc50edfe31 * AVR: couple of fixes for CPUs with only 16 registers
git-svn-id: trunk@44177 -
2020-02-14 21:27:43 +00:00
florian
013491c69f * make maxpushedparasize a SizeInt: it must store an address size and not an alu value
git-svn-id: trunk@44176 -
2020-02-14 21:27:16 +00:00
florian
0424c2a658 * remove accidently committed debug code
git-svn-id: trunk@44175 -
2020-02-14 20:59:32 +00:00
florian
b7afb2431c * do not allow constraints in headers of procedure implementations in delphi mode, resolves #36584
* better error message if a constraint is found at a wrong location

git-svn-id: trunk@44174 -
2020-02-14 20:56:55 +00:00