Commit Graph

62223 Commits

Author SHA1 Message Date
Jeppe Johansen
8b779975aa * thumb2: Make fillchar smaller, faster and more reliable. Some gas versions remove the "mov r0,r0" making the calculated branch break
git-svn-id: trunk@49098 -
2021-04-01 12:36:06 +00:00
florian
7811b915a9 * x86-64: we can spill replace 32 bit operations if the operation does not modify a register
git-svn-id: trunk@49097 -
2021-03-31 21:23:22 +00:00
pierre
8ea95e9b95 Use value $00000F00 instead of $F0000000 for IF_FPMASK, and adapt all floating point constants, to avoid IF_VFPv4 having the same value as IF_PASS2
git-svn-id: trunk@49096 -
2021-03-31 21:03:50 +00:00
florian
cc64d9eb4e * do not swap left/right code generation for assignment nodes if
conditional expressions are involved, resolves #38129

git-svn-id: trunk@49095 -
2021-03-31 20:53:18 +00:00
pierre
c8c6e647be Avoid keeping optimized out node in callcleanupblock.statements or callinitblock.statements
git-svn-id: trunk@49094 -
2021-03-31 20:53:08 +00:00
Mattias Gaertner
b5a8164233 pastojs: specialzie anonymous function
git-svn-id: trunk@49093 -
2021-03-31 20:50:37 +00:00
florian
07a8e6c1d6 + some more change information entries added
git-svn-id: trunk@49092 -
2021-03-31 18:53:31 +00:00
michael
a8df728548 * Apparently, taking code from freeclx is not OK
git-svn-id: trunk@49091 -
2021-03-30 22:11:26 +00:00
florian
bc4a22e24d + Xtensa: tcpuinlinenode.second_prefetch
git-svn-id: trunk@49090 -
2021-03-30 21:43:20 +00:00
florian
aa1a68000b * prefetch instructions read only the operand
git-svn-id: trunk@49089 -
2021-03-30 21:24:00 +00:00
florian
47557e0ad2 * cpubase.cgsize2subreg should handle all valid sizes, resolves #38557
git-svn-id: trunk@49087 -
2021-03-30 16:44:19 +00:00
florian
45b3d8e0bf * check for cache entry before even trying to open the file containing the debug info
git-svn-id: trunk@49086 -
2021-03-30 14:06:19 +00:00
lacak
89fc5b7f8d fcl-db: Introduce TArrayField. Only essential parts (added new object properties according to Delphi documentation). Some code taken from FreeCLX project (https://sourceforge.net/projects/freeclx/)
git-svn-id: trunk@49085 -
2021-03-30 11:30:19 +00:00
nickysn
8ec71bc810 * fixed memory leak, introduced accidentally in r48998
git-svn-id: trunk@49084 -
2021-03-30 11:05:00 +00:00
lacak
803402b225 fcl-db: Introduce TObjectField. Only essential parts (added new object properties according to Delphi documentation)
git-svn-id: trunk@49083 -
2021-03-30 09:54:04 +00:00
lacak
f517d21507 fcl-db: Introduce TObjectField. Only essential parts (added new object properties according to Delphi documentation). Some code taken from FreeCLX project (https://sourceforge.net/projects/freeclx/)
git-svn-id: trunk@49082 -
2021-03-30 09:37:30 +00:00
Mattias Gaertner
1fe486d8f6 pastojs: fixed -O- and record const, issue #38683
git-svn-id: trunk@49081 -
2021-03-29 18:08:55 +00:00
florian
4dfcdeaef8 + use a hash table to speed up line info retrieval
git-svn-id: trunk@49080 -
2021-03-29 12:20:39 +00:00
Mattias Gaertner
e7e2b7db41 pastojs: clean up
git-svn-id: trunk@49079 -
2021-03-29 09:26:54 +00:00
pierre
0d895c5826 Fix short name for utils-fpcres for OS/2 and EMX
git-svn-id: trunk@49077 -
2021-03-28 21:51:30 +00:00
Mattias Gaertner
a357645384 pastojs: fixed published field with anonymous array
git-svn-id: trunk@49076 -
2021-03-28 21:41:22 +00:00
florian
b4eb1780ad * added test, issue is fixed by r48758 already
git-svn-id: trunk@49075 -
2021-03-28 21:10:13 +00:00
florian
47eb7cec0c * test needs objfpc mode else i is 16 bit only
git-svn-id: trunk@49074 -
2021-03-28 21:09:35 +00:00
Mattias Gaertner
97fd8638d5 pastojs: fixed insert(item,array,pos) when array=nil
git-svn-id: trunk@49073 -
2021-03-28 19:19:32 +00:00
pierre
9b61b538d8 Use utils also for short version for OS/2 and emx
git-svn-id: trunk@49072 -
2021-03-28 16:31:12 +00:00
marco
b2798f75be * more fixes from serbod repo. Make paths relative.
git-svn-id: trunk@49071 -
2021-03-28 12:48:20 +00:00
pierre
ff71c51e4e Remove double source entry for utils lexyacc package
git-svn-id: trunk@49070 -
2021-03-28 00:11:06 +00:00
pierre
3ea0c335c9 Replace p2fp by p2fm as short version for pas2fpm utils package and add some missing -3.3.1 to long source zip names
git-svn-id: trunk@49069 -
2021-03-28 00:07:58 +00:00
svenbarth
5a20531d9b * rework the basic event on Windows so that peventstate directly represents the Event handle
git-svn-id: trunk@49068 -
2021-03-27 19:48:32 +00:00
Jonas Maebe
793ecb3fa6 * fixed assembling via pipe on Darwin
git-svn-id: trunk@49067 -
2021-03-27 19:01:04 +00:00
florian
6218254e53 * allow also 8 byte string constants in assembler, resolves #28640
git-svn-id: trunk@49066 -
2021-03-27 17:13:14 +00:00
Jonas Maebe
308aee42a0 * the offset parameter of reference_reset* must be asizeint rather than
longint (mantis #38636)

git-svn-id: trunk@49065 -
2021-03-27 15:31:33 +00:00
svenbarth
ca7c775e36 * fix for Mantis #38642: for enumerations with jumps Delphi behaves as follows:
- GetTypeKind returns tkEnumeration (FPC previously generated a compile error here)
  - GetTypeInfo on a generic parameters returns Nil for such types (FPC previously generated a compile error here)
  - GetTypeInfo otherwise generates a compile error (as before)

git-svn-id: trunk@49064 -
2021-03-27 09:35:07 +00:00
svenbarth
57e040cb82 * don't use GetTypeData() when ATypeInfo is Nil
git-svn-id: trunk@49063 -
2021-03-27 09:35:02 +00:00
svenbarth
067b9b2922 * copy and compare the typesym inside type nodes as well
git-svn-id: trunk@49062 -
2021-03-27 09:34:59 +00:00
pierre
2d255cec91 Update OS/2 packages
git-svn-id: trunk@49061 -
2021-03-26 23:58:46 +00:00
pierre
869f699391 Update EMX packages
git-svn-id: trunk@49060 -
2021-03-26 23:51:54 +00:00
pierre
2ed3bfb587 Add missing go32v2 zips and corresponding sources
git-svn-id: trunk@49059 -
2021-03-26 23:38:07 +00:00
pierre
632e3ff2cd Use utils as shortname also
git-svn-id: trunk@49058 -
2021-03-26 23:35:38 +00:00
florian
4d82e814a0 * patch by Do-wan Kim: fix loop unrolling for try .. finally blocks in win32,
similiar to r48972 for win64

git-svn-id: trunk@49057 -
2021-03-26 22:21:09 +00:00
ondrej
1ad9091763 fcl-db: odbc: make TODBCCursor.STMTHandle and ODBCSuccess public
git-svn-id: trunk@49056 -
2021-03-26 07:19:17 +00:00
florian
c2ff85ac5b * patch by J. Gareth Moreton: Nothing (NOP) node optimisation, resolves #38194
git-svn-id: trunk@49054 -
2021-03-25 21:51:52 +00:00
Mattias Gaertner
e89e010155 pastojs: filer: restore global shortref names
git-svn-id: trunk@49053 -
2021-03-25 21:32:08 +00:00
Károly Balogh
50cb5707ef amiga: check if P is nil while processing params. this should never happen, except sometimes in real world it still happens. so lets be defensive about it
git-svn-id: trunk@49052 -
2021-03-25 16:33:22 +00:00
ondrej
6b0d010a67 fcl-db: odbc: partially revert #49049
git-svn-id: trunk@49051 -
2021-03-25 14:47:47 +00:00
ondrej
fa0b053b21 fcl-db: odbc: go to first selectable result. issue #38664
git-svn-id: trunk@49049 -
2021-03-25 09:44:14 +00:00
Mattias Gaertner
5eda61e136 fcl-js: fixed writing multi add
git-svn-id: trunk@49048 -
2021-03-24 19:50:02 +00:00
michael
a1c392e0af * Fix issue #38442
git-svn-id: trunk@49047 -
2021-03-24 17:05:26 +00:00
Jonas Maebe
7a0c6ab591 - removed unused leftovers from old t_bsd code
* no longer execute the linker via a shell script, but directly

git-svn-id: trunk@49046 -
2021-03-24 14:33:13 +00:00
Jonas Maebe
7fbda0e0e8 * support building with FPC 3.2.2
git-svn-id: trunk@49045 -
2021-03-24 14:33:09 +00:00