Commit Graph

57876 Commits

Author SHA1 Message Date
florian
17c4834a4a * system unit can be build for subarch avrtiny
git-svn-id: trunk@44032 -
2020-01-24 22:04:14 +00:00
florian
6c71fd461d * avoid internalerror for dec/inc(...,v) with v>high(int64), resolves #35298
git-svn-id: trunk@44031 -
2020-01-24 21:39:07 +00:00
florian
993144b91b * patch by J. Gareth Moreton: x86 SUB and LEA optimisations, resolves #36622
git-svn-id: trunk@44030 -
2020-01-24 21:10:17 +00:00
florian
a807e18591 * patch by J. Gareth Moreton: x86 CMP/TEST/Jcc optimisations, resolves #36624
git-svn-id: trunk@44029 -
2020-01-24 20:41:11 +00:00
florian
d87a5cc9fb * take care of m_duplicate_names when checking for duplicate locals, resolves #33221
git-svn-id: trunk@44028 -
2020-01-23 21:32:09 +00:00
florian
7b4292c94e * patch by Robert Roland to support the RaspberryPi 2 as a bare metal embedded target, resolves #35236
git-svn-id: trunk@44027 -
2020-01-23 21:14:49 +00:00
florian
90a40ab9ca * fix for #32352: a unit does not need to be re-deref'ed if it just had been recompiled
git-svn-id: trunk@44026 -
2020-01-23 20:56:56 +00:00
florian
8dc8647c7b * WinCE compilation fixed
git-svn-id: trunk@44025 -
2020-01-23 20:47:55 +00:00
marco
517a7aa80d * rpos(ex) unicodestring variants. mantis #35093
git-svn-id: trunk@44024 -
2020-01-23 17:00:59 +00:00
pierre
df28fdcbf8 Pass old value of OPT to FPCMAKEOPT
git-svn-id: trunk@44023 -
2020-01-23 15:03:20 +00:00
pierre
bcf43724bf Add more debug information when verbose is set
git-svn-id: trunk@44022 -
2020-01-23 14:49:59 +00:00
florian
d2a059bd02 * patch by Christo Crause: avrtiny26 controller is not subarch avr25 but avr2, resolves #36620
git-svn-id: trunk@44021 -
2020-01-22 20:41:24 +00:00
florian
3ab8830b83 * patch by Christo Crause: Correct subarch for avrtiny series in compiler, resolves #36619
git-svn-id: trunk@44020 -
2020-01-22 20:34:43 +00:00
florian
f2618cb6a4 * compilation on atari fixed
git-svn-id: trunk@44019 -
2020-01-22 19:06:26 +00:00
Tomas Hajny
e790cb067d * fix of FileSetDate after int64 changes (r44010 and r44013)
git-svn-id: trunk@44018 -
2020-01-22 12:14:47 +00:00
marco
a16f332fbb * some quick fixes for Win32 with temp variables for some places where the int64 changes breaks.
git-svn-id: trunk@44017 -
2020-01-22 12:07:49 +00:00
florian
69956cd97a * fix compilation on several OSes after r44010
git-svn-id: trunk@44013 -
2020-01-21 21:50:37 +00:00
svenbarth
9a42625cfb * also allow by-value open array parameters for the tail recursion optimization
* adjusted test

git-svn-id: trunk@44012 -
2020-01-21 21:30:10 +00:00
svenbarth
4fc02d3d09 * enable tail recursion optimization also for const and constref open arrays
+ added test

git-svn-id: trunk@44011 -
2020-01-21 21:29:56 +00:00
florian
01302bc47d * subroutines working with an OS dependend time stamp use an int64 now, so the 2038 problem
on unixes can be tackled

git-svn-id: trunk@44010 -
2020-01-21 20:59:20 +00:00
marco
a640a8d21e * regenned msgtxt.inc
git-svn-id: trunk@44009 -
2020-01-21 13:21:59 +00:00
marco
eed0e52a64 * copyright date update, mantis 035903
git-svn-id: trunk@44008 -
2020-01-21 13:20:05 +00:00
florian
fc44c2d4c9 + insert alignments after break/goto/exit/continue jmp instructions, if it is
superfluous, the assembler optimizer will take care of it

git-svn-id: trunk@44007 -
2020-01-20 21:56:39 +00:00
florian
08c2afb0a4 * AVR: use CP ...,r1 instead of CPI ...,0 to enable all registers being used as first operand
git-svn-id: trunk@44006 -
2020-01-20 21:14:28 +00:00
florian
ae8d2dc69a * omit first not, helps the reg. allocator to find a workable colouring, resolves #36611
git-svn-id: trunk@44005 -
2020-01-20 21:13:34 +00:00
michael
dad9126d45 * Clear search path (fix from Pascal Riekenberg, bug ID #36609)
git-svn-id: trunk@44004 -
2020-01-20 18:23:58 +00:00
yury
392fc0b637 * android: Changed additions to the linker script to prevent misalignment of the .data section. It fixes crash when linking using recent versions of LD where the "relro" option is default. Issue #35641.
* android: Always pass "-z relro" to the linker.

git-svn-id: trunk@44002 -
2020-01-19 20:31:54 +00:00
florian
16152cf948 * patch by J. Gareth Moreton: get rid of another pass through the assembler list by integrating OptReferences
into the post optimizer pass

git-svn-id: trunk@44001 -
2020-01-19 20:11:05 +00:00
florian
069e040e49 * do for-loop unrolling after for-loop simplification, resolves #36589
git-svn-id: trunk@43999 -
2020-01-19 18:21:12 +00:00
pierre
2b658ef11c Add missing trampoline size found in libffi version 3.3
git-svn-id: trunk@43998 -
2020-01-19 18:20:59 +00:00
florian
799ea31a5f * AVR: due to recent fixes, EXCLUDE_COMPLEX_PROCS is not needed anymore
git-svn-id: trunk@43997 -
2020-01-19 18:04:59 +00:00
florian
429130fa34 * AVR: attiny can do post increment operations, so remove code working around this
git-svn-id: trunk@43996 -
2020-01-19 18:04:59 +00:00
florian
bd96765632 * AVR: do not insert jmp if not supported
git-svn-id: trunk@43995 -
2020-01-19 18:04:58 +00:00
michael
5236f756d1 * More verbose error for array with non-supported element type
git-svn-id: trunk@43993 -
2020-01-19 16:46:30 +00:00
michael
d6894f2814 * Add calendar example
git-svn-id: trunk@43991 -
2020-01-19 16:34:03 +00:00
florian
28391e04bc + AVR: initial support of the avrtiny architecture in the rtl
git-svn-id: trunk@43988 -
2020-01-19 15:55:25 +00:00
florian
2d9cdab264 + AVR: initial support for the avrtiny architecture
git-svn-id: trunk@43987 -
2020-01-19 15:55:24 +00:00
florian
f629fa1bb9 * AVR: tcgavr.normalize_ref must always load the reference into tmpreg
git-svn-id: trunk@43986 -
2020-01-19 15:55:23 +00:00
florian
26eae3672b + AVR: GetDefaultZeroReg and GetDefaultTmpReg
git-svn-id: trunk@43985 -
2020-01-19 15:55:23 +00:00
florian
aaa6ae5770 + AVR: cputype cpu_avrtiny
git-svn-id: trunk@43984 -
2020-01-19 15:55:22 +00:00
florian
96a4cda03b * AVR: fixes pushing and handling of stack passed parameters
git-svn-id: trunk@43983 -
2020-01-19 15:55:21 +00:00
florian
6f434b6751 * AVR: fixed TDwarfAsmCFILowLevel.generate_initial_instructions
git-svn-id: trunk@43982 -
2020-01-19 15:55:21 +00:00
florian
4b4e316af0 * compilation fixed
git-svn-id: trunk@43981 -
2020-01-19 15:55:20 +00:00
michael
2266804e4d * Fix bug #36603, disable inline
git-svn-id: trunk@43977 -
2020-01-19 09:38:32 +00:00
florian
48236401e0 * voidcodepointertype => voidpointertype as suggested by Pierre
git-svn-id: trunk@43976 -
2020-01-18 21:51:27 +00:00
pierre
367eac9743 Enable libffi package on win32,win64 and BSD targets, remove CPU restriction
git-svn-id: trunk@43975 -
2020-01-18 21:23:21 +00:00
michael
0176697483 * Fix regression
git-svn-id: trunk@43974 -
2020-01-18 16:44:22 +00:00
michael
6984cf8606 * Fix bug #0036581, amended patch by Pascal Riekenberg
git-svn-id: trunk@43973 -
2020-01-18 16:40:57 +00:00
michael
0c2400e856 * Fix bug ID #0036482, various fixes by Alexey T.
git-svn-id: trunk@43972 -
2020-01-18 15:35:25 +00:00
marco
37a8536bd4 * undo 43513 which ifdefed usage of ismanagedtype for 3.2. 3.2 now supports ismanagedtype
git-svn-id: trunk@43971 -
2020-01-18 15:17:02 +00:00