pierre c20b51a806 Use ApplyAsmSymbolRestrictions function and limit label sie to 247 for watcom assembler %!s(int64=4) %!d(string=hai) anos
..
aarch64 eec51afadd * patch (with little modification) by J. Gareth Moreton: refactor ARM/Aarch64 peephole optimizer, first part of #37526 %!s(int64=4) %!d(string=hai) anos
arm eec51afadd * patch (with little modification) by J. Gareth Moreton: refactor ARM/Aarch64 peephole optimizer, first part of #37526 %!s(int64=4) %!d(string=hai) anos
armgen bb92fbafa0 patch by J. Gareth Moreton: GetNextInstructionUsingReg drops out earlier, second part of #37526 %!s(int64=4) %!d(string=hai) anos
avr 28f25b2df0 * reworked usage of tcgnotnode.handle_locjump %!s(int64=5) %!d(string=hai) anos
generic 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler %!s(int64=6) %!d(string=hai) anos
html fa0d3d79e0 no message %!s(int64=23) %!d(string=hai) anos
i386 1fb7603f61 * x86: ImulMov2Imul optimization %!s(int64=4) %!d(string=hai) anos
i8086 e5a923eb7a * 8086: Proper implementation of: If a far procvar is called, it must be in a memory location. This fixes a hack to emulate CALL reg1:reg2. %!s(int64=5) %!d(string=hai) anos
jvm 453bfcd370 * emit the correct declaration for procdefs used to force a procname in LLVM %!s(int64=5) %!d(string=hai) anos
llvm 3208929e17 * add Xcode-11.0 as LLVM target version versin %!s(int64=5) %!d(string=hai) anos
m68k de180d7656 * m68k: fix index register usage in memory references, when the index is 8 or 16 bit wide and unsigned %!s(int64=4) %!d(string=hai) anos
mips 28f25b2df0 * reworked usage of tcgnotnode.handle_locjump %!s(int64=5) %!d(string=hai) anos
msg 60bd9c5ba0 * write a proper error message if types are read/written which are not supported in iso mode, resolves #37763 %!s(int64=4) %!d(string=hai) anos
powerpc 28f25b2df0 * reworked usage of tcgnotnode.handle_locjump %!s(int64=5) %!d(string=hai) anos
powerpc64 d4c9e1f260 Replace outdated cgop2string function by tcgsize2str function from cgbase unit to fix EXTDEBUG cycle on powerpc64le-linux %!s(int64=5) %!d(string=hai) anos
ppcgen d4c9e1f260 Replace outdated cgop2string function by tcgsize2str function from cgbase unit to fix EXTDEBUG cycle on powerpc64le-linux %!s(int64=5) %!d(string=hai) anos
riscv d4c9e1f260 Replace outdated cgop2string function by tcgsize2str function from cgbase unit to fix EXTDEBUG cycle on powerpc64le-linux %!s(int64=5) %!d(string=hai) anos
riscv32 7f8f733963 * RiscV32 correctly set operands of div/mod operations, resolves #37743 %!s(int64=4) %!d(string=hai) anos
riscv64 d4c9e1f260 Replace outdated cgop2string function by tcgsize2str function from cgbase unit to fix EXTDEBUG cycle on powerpc64le-linux %!s(int64=5) %!d(string=hai) anos
sparc eb7ba1690e * mark all external assemblers using an LLVM tool using af_llvm %!s(int64=5) %!d(string=hai) anos
sparc64 eb7ba1690e * mark all external assemblers using an LLVM tool using af_llvm %!s(int64=5) %!d(string=hai) anos
sparcgen 28f25b2df0 * reworked usage of tcgnotnode.handle_locjump %!s(int64=5) %!d(string=hai) anos
systems 9f8417ba52 z80: added handling of sections provided by the startup code to the vlink linker script. this fixes executable building, but the resulting executables still don't work at this point %!s(int64=4) %!d(string=hai) anos
utils 15d1d00c34 * fixed a typo. %!s(int64=5) %!d(string=hai) anos
x86 c20b51a806 Use ApplyAsmSymbolRestrictions function and limit label sie to 247 for watcom assembler %!s(int64=4) %!d(string=hai) anos
x86_64 1fb7603f61 * x86: ImulMov2Imul optimization %!s(int64=4) %!d(string=hai) anos
xtensa 7f53d04ffd + xtensa: make use of nsau to implement Bsr* %!s(int64=4) %!d(string=hai) anos
z80 aa745e0319 z80: re-enabled af_smartlink_sections for vasm which is required for the vasm + vlink combo, partially reverting r46916 %!s(int64=4) %!d(string=hai) anos
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) %!s(int64=8) %!d(string=hai) anos
MPWMake 05d6f0e94d macos: added a fake sysutils for use by compiler, and fixed some tests %!s(int64=19) %!d(string=hai) anos
Makefile 85d19af48c * Remove debug ECHO lines %!s(int64=5) %!d(string=hai) anos
Makefile.fpc 85d19af48c * Remove debug ECHO lines %!s(int64=5) %!d(string=hai) anos
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files %!s(int64=16) %!d(string=hai) anos
aasmbase.pas 64da07da48 Add conversion from "$" to "." for i386-watcom target and avoid iteration if no char modification is wanted in ApplyAsmSymbolRestrictions function %!s(int64=4) %!d(string=hai) anos
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives %!s(int64=6) %!d(string=hai) anos
aasmcnst.pas 9e11f8122f * Corrected r46481. Use both tcalo_new_section and tcalo_make_dead_strippable flags since only the default implementation implies a new section creation when tcalo_make_dead_strippable is specified. %!s(int64=5) %!d(string=hai) anos
aasmdata.pas aefc1be555 * Reverted accidentally committed files. %!s(int64=5) %!d(string=hai) anos
aasmdef.pas 04984e9af9 * also generate indirect symbols for AB_PRIVATE_EXTERN symbols as these might be used from a unit in another package due to inlining %!s(int64=5) %!d(string=hai) anos
aasmsym.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would %!s(int64=6) %!d(string=hai) anos
aasmtai.pas 84a1f614d9 * fix several double ; %!s(int64=5) %!d(string=hai) anos
aggas.pas 6e777d8967 * ait_comment,ait_regalloc,ait_tempalloc,ait_varloc instructions produce only comments in the external assembler output. Moved handling of these instructions to TExternalAssembler.WriteComments(). %!s(int64=5) %!d(string=hai) anos
aopt.pas c7b19e2fc9 * track used register better: if a deallocation is moved/removed, the used register may not be removed from the current register used register set %!s(int64=5) %!d(string=hai) anos
aoptbase.pas 1f8a9c708e * use RegistersInterfere instead of SuperRegistersEqual in TAoptBase.RegInOp and TAoptBase.RegInRef %!s(int64=5) %!d(string=hai) anos
aoptda.pas b1dff29cbf * removed unused units %!s(int64=8) %!d(string=hai) anos
aoptobj.pas 112f8a41ad * Xtensa: set is_jmp flag so branch optimization works %!s(int64=4) %!d(string=hai) anos
aoptutils.pas 7e6eeebdf0 o patch by J. Gareth Moreton, seeks to improve maintainability, safety and efficiency %!s(int64=5) %!d(string=hai) anos
assemble.pas 6e777d8967 * ait_comment,ait_regalloc,ait_tempalloc,ait_varloc instructions produce only comments in the external assembler output. Moved handling of these instructions to TExternalAssembler.WriteComments(). %!s(int64=5) %!d(string=hai) anos
blockutl.pas a051b8d225 - remmoved doregister parameter from t*sym constructors, as the registration %!s(int64=5) %!d(string=hai) anos
browcol.pas 1a9e246c29 * added is_normal_fieldvarsym() helper and use it %!s(int64=5) %!d(string=hai) anos
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because %!s(int64=16) %!d(string=hai) anos
ccharset.pas cb44d7d4e2 * some cleanup %!s(int64=5) %!d(string=hai) anos
cclasses.pas 872c22842e * do prefetching correctly %!s(int64=5) %!d(string=hai) anos
cepiktimer.pas 404c6e0c15 + forgotten file %!s(int64=5) %!d(string=hai) anos
cfidwarf.pas 0fbd418cb7 * generate CFI data only if we're either using it for exception handling or if debug output is enabled (or should this only be generated for targets that in theory support DWARF exception handling?). This removes unnecessary bloat from e.g. Windows binaries %!s(int64=5) %!d(string=hai) anos
cfileutl.pas e7d1a77f9a * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS %!s(int64=5) %!d(string=hai) anos
cg64f32.pas ddea929923 * For 8 and 16 bit CPUs preload the ref base and index to a separate temp register in the generic implementation of a_load64_reg_ref() and a_load64_ref_reg(). %!s(int64=5) %!d(string=hai) anos
cgbase.pas e6b89c98f5 * Changed tsuperregisterworklist.get() to always return the last item from the list. %!s(int64=5) %!d(string=hai) anos
cgexcept.pas 84a1f614d9 * fix several double ; %!s(int64=5) %!d(string=hai) anos
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 %!s(int64=10) %!d(string=hai) anos
cgobj.pas d7fe9914a7 + introduce tcgobj.a_loadfpu_reg_intreg %!s(int64=4) %!d(string=hai) anos
cgutils.pas 04d295f186 * first step towards supporting 32 bit targets with the LLVM code generator: %!s(int64=6) %!d(string=hai) anos
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled %!s(int64=8) %!d(string=hai) anos
comphook.pas be0054eeb4 * fixed output of line numbers/columns with -vR %!s(int64=5) %!d(string=hai) anos
compiler.pas 84e36cce0f * fix morphos info unit name after r44454 %!s(int64=5) %!d(string=hai) anos
compinnr.pas d401639b24 * fix for Mantis #37251: apply patches by Bi0T1N to implement the IsConstValue() intrinsic %!s(int64=5) %!d(string=hai) anos
comprsrc.pas f3541984ee * make sure that the resource compiler related globals are reset %!s(int64=5) %!d(string=hai) anos
constexp.pas 8306c7ca79 Fix cycle with -CriotR option on aarch64-linux %!s(int64=5) %!d(string=hai) anos
cprofile.pas 6612bb4434 * proper naming %!s(int64=5) %!d(string=hai) anos
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables %!s(int64=11) %!d(string=hai) anos
cresstr.pas 764227193a * Added on option to implement library based smartlinking of the dead stripable vectorized lists (e.g. resource strings index). By default smartlinking of such lists only supported when the section based smartlinking (tf_smartlink_sections) is enabled for a target. %!s(int64=5) %!d(string=hai) anos
cscript.pas 3dda26b3b5 * quote assembly filenames in Unix script, fixes sh errors with smartlinked small filenames like unitname(1), etc %!s(int64=7) %!d(string=hai) anos
cstreams.pas a578993234 * partial fix for Mantis #35346: more "inline" directives for TCStream and TCMemoryStream methods %!s(int64=6) %!d(string=hai) anos
cutils.pas 1b3a3a7983 * Removed lot of unused local vars. It is useful to turn on the notes in options. :) %!s(int64=5) %!d(string=hai) anos
dbgbase.pas 2808873d1b * Reworked the optimization of unused $parentfp for nested routines. %!s(int64=5) %!d(string=hai) anos
dbgcodeview.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would %!s(int64=6) %!d(string=hai) anos
dbgdwarf.pas e7d1a77f9a * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS %!s(int64=5) %!d(string=hai) anos
dbgstabs.pas e7d1a77f9a * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS %!s(int64=5) %!d(string=hai) anos
dbgstabx.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the %!s(int64=5) %!d(string=hai) anos
defcmp.pas 2ff18e48a0 * fix for Mantis #36909: apply patch by Ryan Joseph so that array constructors can be used for static arrays as well. %!s(int64=4) %!d(string=hai) anos
defutil.pas 51da470757 * constrained type parameters are not undefined defs, resolves #37107 %!s(int64=5) %!d(string=hai) anos
dirparse.pas 2e9c6f35ae - disable -Ooregvar for the LLVM-based x86-64 code generator, as it causes %!s(int64=8) %!d(string=hai) anos
dwarfbase.pas 6817cea33b + missing unit %!s(int64=6) %!d(string=hai) anos
elfbase.pas 245b58c249 + support for arm attributes %!s(int64=5) %!d(string=hai) anos
entfile.pas 0fc1ba26f8 * compilation fixed %!s(int64=5) %!d(string=hai) anos
export.pas b1dff29cbf * removed unused units %!s(int64=8) %!d(string=hai) anos
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa %!s(int64=6) %!d(string=hai) anos
finput.pas 243c967967 Commit of new debug feature implemented by J. Gareth Moreton %!s(int64=6) %!d(string=hai) anos
fmodule.pas 84a1f614d9 * fix several double ; %!s(int64=5) %!d(string=hai) anos
fpccrc.pas 1002a7c590 * 8086: Fixed very long section names when $HUGECODE is ON and section based smartlinking is used. %!s(int64=5) %!d(string=hai) anos
fpcdefs.inc d7fe9914a7 + introduce tcgobj.a_loadfpu_reg_intreg %!s(int64=4) %!d(string=hai) anos
fpcp.pas 0b61b5d4cf * added extra header to ppu inside a subsection, so we won't run into %!s(int64=6) %!d(string=hai) anos
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: %!s(int64=9) %!d(string=hai) anos
fppu.pas 84dc6621cb * have the module keep track whether it was loaded from a PPU with a different endianess than the current host system %!s(int64=5) %!d(string=hai) anos
gendef.pas 3af74d2fd2 + implement initial compiler support for Win64 on Aarch64 %!s(int64=5) %!d(string=hai) anos
globals.pas 5801a7431c * reset idfpath when globals are initialized (needed for the textmode IDE) %!s(int64=5) %!d(string=hai) anos
globstat.pas 04bbfd1746 * fix for Mantis #27378: save and (more importantly) restore verbosity when switching a unit %!s(int64=6) %!d(string=hai) anos
globtype.pas eb7ba1690e * mark all external assemblers using an LLVM tool using af_llvm %!s(int64=5) %!d(string=hai) anos
hlcg2ll.pas d7fe9914a7 + introduce tcgobj.a_loadfpu_reg_intreg %!s(int64=4) %!d(string=hai) anos
hlcgobj.pas 61da70bb72 * do not copy unused paravarsyms %!s(int64=4) %!d(string=hai) anos
htypechk.pas a628c1c3dd * if an array constructor is passed to a formaldef parameter, it is passed as a set (if the conversion is possible), resolves #37796 %!s(int64=4) %!d(string=hai) anos
impdef.pas 4431ba2c08 merged/updated AROS/i386 target to trunk from AROS branch, to support Marcus Sackrow's work on AROS support which will hopefully benefit all Amiga-like targets (classic, MorphOS) on the long run. Compiler only, RTL comes in the next run. %!s(int64=11) %!d(string=hai) anos
import.pas b1dff29cbf * removed unused units %!s(int64=8) %!d(string=hai) anos
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). %!s(int64=13) %!d(string=hai) anos
link.pas 580e9e5169 * wlib: calculate the record size according to the number of files in the library. %!s(int64=5) %!d(string=hai) anos
macho.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler %!s(int64=6) %!d(string=hai) anos
machoutils.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler %!s(int64=6) %!d(string=hai) anos
msgidx.inc 60bd9c5ba0 * write a proper error message if types are read/written which are not supported in iso mode, resolves #37763 %!s(int64=4) %!d(string=hai) anos
msgtxt.inc 60bd9c5ba0 * write a proper error message if types are read/written which are not supported in iso mode, resolves #37763 %!s(int64=4) %!d(string=hai) anos
nadd.pas e124b07e86 + evaluate typeinfo(<type1>)=/<>typeinfo(<type2>) at compile time, resolves #30260 %!s(int64=4) %!d(string=hai) anos
nbas.pas a88288bab3 - reverted r46457, accidentally committed (breaks -Oooptcse) %!s(int64=5) %!d(string=hai) anos
ncal.pas a628c1c3dd * if an array constructor is passed to a formaldef parameter, it is passed as a set (if the conversion is possible), resolves #37796 %!s(int64=4) %!d(string=hai) anos
ncgadd.pas ce598c15ec * factored out the conditions under which add nodes need to perform %!s(int64=6) %!d(string=hai) anos
ncgbas.pas a88288bab3 - reverted r46457, accidentally committed (breaks -Oooptcse) %!s(int64=5) %!d(string=hai) anos
ncgcal.pas 453bfcd370 * emit the correct declaration for procdefs used to force a procname in LLVM %!s(int64=5) %!d(string=hai) anos
ncgcnv.pas d7fe9914a7 + introduce tcgobj.a_loadfpu_reg_intreg %!s(int64=4) %!d(string=hai) anos
ncgcon.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would %!s(int64=6) %!d(string=hai) anos
ncgflw.pas fc44c2d4c9 + insert alignments after break/goto/exit/continue jmp instructions, if it is %!s(int64=5) %!d(string=hai) anos
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false %!s(int64=10) %!d(string=hai) anos
ncginl.pas 0f6ab0de17 * handle LOC_(C)SUBSETREG/REF in second_NegNot_assign %!s(int64=5) %!d(string=hai) anos
ncgld.pas 69fcacc948 * use fld/fst on i386 to copy doubles %!s(int64=4) %!d(string=hai) anos
ncgmat.pas 28f25b2df0 * reworked usage of tcgnotnode.handle_locjump %!s(int64=5) %!d(string=hai) anos
ncgmem.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. %!s(int64=5) %!d(string=hai) anos
ncgnstfl.pas d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms %!s(int64=5) %!d(string=hai) anos
ncgnstld.pas cf9596421b * fixed crashes on platforms using parentfpstructs with generic routines %!s(int64=6) %!d(string=hai) anos
ncgnstmm.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. %!s(int64=5) %!d(string=hai) anos
ncgobjc.pas b1dff29cbf * removed unused units %!s(int64=8) %!d(string=hai) anos
ncgopt.pas b1dff29cbf * removed unused units %!s(int64=8) %!d(string=hai) anos
ncgrtti.pas cc315e0ac7 * fix tw3930 after r37927 %!s(int64=4) %!d(string=hai) anos
ncgset.pas 8fd0a27875 Avoid range check error for avr/i8086 CPU by changing local variable dist type to asizeuint %!s(int64=6) %!d(string=hai) anos
ncgutil.pas d34168742e * Fixed r46801 for the case of int64 params with a single paralocation. %!s(int64=4) %!d(string=hai) anos
ncgvmt.pas cc315e0ac7 * fix tw3930 after r37927 %!s(int64=4) %!d(string=hai) anos
ncnv.pas 9f42931eeb * don't print range check warnings when evaluating inlined explicit typecasts %!s(int64=4) %!d(string=hai) anos
ncon.pas 60345366f2 * fix for Mantis #35140: apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics %!s(int64=5) %!d(string=hai) anos
nflw.pas e1536bdf26 * when implicit try...finallys are turned off, do not throw an error if a procedure %!s(int64=4) %!d(string=hai) anos
ngenutil.pas f8c1df0852 * ISO mode: handle typed files as text files regarding naming/program parameters, resolves #37415 %!s(int64=4) %!d(string=hai) anos
ngtcon.pas df6baa888b * another error message changed into a better one %!s(int64=4) %!d(string=hai) anos
ninl.pas cce2dad1bf * fix for Mantis #37806: allow undefineddefs for Include() and Exclude() %!s(int64=4) %!d(string=hai) anos
nld.pas b36597c76a * better calculation of estimated stack frame size %!s(int64=4) %!d(string=hai) anos
nmat.pas 42f2e5f8ad + simplify "x mod -1", resolves #37449 %!s(int64=5) %!d(string=hai) anos
nmem.pas 7bffafdf8b * Improved the parentfp optimization to properly handle cases when a nested routine calls other nested routines. %!s(int64=5) %!d(string=hai) anos
nobj.pas 4ba19f5418 * add support for creating non-address-only procvars to %!s(int64=5) %!d(string=hai) anos
nobjc.pas 68eb921d46 * broken compilation after r39347 fixed %!s(int64=7) %!d(string=hai) anos
node.pas 792cf056eb * a nil node is also a constant pointer node %!s(int64=5) %!d(string=hai) anos
nopt.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would %!s(int64=6) %!d(string=hai) anos
nset.pas bb25c604cf + optimize a in [a] %!s(int64=5) %!d(string=hai) anos
nutils.pas a88288bab3 - reverted r46457, accidentally committed (breaks -Oooptcse) %!s(int64=5) %!d(string=hai) anos
objcasm.pas 51209eac9c * fixed bootstrap for Darwin/ppc with FPC 3.0 (workaround for %!s(int64=9) %!d(string=hai) anos
objcdef.pas b1dff29cbf * removed unused units %!s(int64=8) %!d(string=hai) anos
objcgutl.pas e7d1a77f9a * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS %!s(int64=5) %!d(string=hai) anos
objcutil.pas b1dff29cbf * removed unused units %!s(int64=8) %!d(string=hai) anos
ogbase.pas 17d583a419 * fix for Mantis #37559: the adjustment of the section type should only be done for internal COFF writers %!s(int64=5) %!d(string=hai) anos
ogcoff.pas d1cd26592a * fix for Mantis #37745: section names where the string offset has more than 7 digits need to be Base64 encoded %!s(int64=4) %!d(string=hai) anos
ogelf.pas 245b58c249 + support for arm attributes %!s(int64=5) %!d(string=hai) anos
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using %!s(int64=10) %!d(string=hai) anos
ogmacho.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the %!s(int64=5) %!d(string=hai) anos
ogmap.pas a5ab1c03ea * avoid 8-bit truncation of the sizes in the internal linker map %!s(int64=5) %!d(string=hai) anos
ognlm.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the %!s(int64=5) %!d(string=hai) anos
ogomf.pas c69090446a * msdos: Fixed AV in the internal linker in some cases when code or data exceeds 64k. %!s(int64=5) %!d(string=hai) anos
ogrel.pas 667a010357 Avoid wrong overflow error when using -Criot options %!s(int64=5) %!d(string=hai) anos
omfbase.pas e0041a8244 * compilation of x86 and PowerPC fixed %!s(int64=5) %!d(string=hai) anos
optbase.pas b5659df425 + CalcUseSum: calculates a sum of all use sets of the current node and its children %!s(int64=5) %!d(string=hai) anos
optconstprop.pas e350264db1 + propagate constants across call nodes %!s(int64=5) %!d(string=hai) anos
optcse.pas af1e6fde5c * setelementn cannot be the root node of a cse domain, resolves #37477 %!s(int64=5) %!d(string=hai) anos
optdead.pas b1dff29cbf * removed unused units %!s(int64=8) %!d(string=hai) anos
optdeadstore.pas 3947922fea * set nf_* correctly when an inc/dec node is converted into an add/sub node %!s(int64=5) %!d(string=hai) anos
optdfa.pas 3c18dee694 * take care of for loop counter read after loop %!s(int64=5) %!d(string=hai) anos
options.pas 7f53d04ffd + xtensa: make use of nsau to implement Bsr* %!s(int64=4) %!d(string=hai) anos
optloadmodifystore.pas 9853c4a2a3 + enabled the load-modify-store optimization for the double argument version %!s(int64=8) %!d(string=hai) anos
optloop.pas 1ba8255af0 * do not try to unroll a loop if previously an error was thrown, resolves #37475 %!s(int64=5) %!d(string=hai) anos
opttail.pas dd6e6eb26a * disable tail recursion optimisation if there is a copy-back parameter %!s(int64=5) %!d(string=hai) anos
optutils.pas aabd7c7217 * more fixes for loop strength reduction %!s(int64=5) %!d(string=hai) anos
optvirt.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would %!s(int64=6) %!d(string=hai) anos
owar.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL %!s(int64=5) %!d(string=hai) anos
owbase.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL %!s(int64=5) %!d(string=hai) anos
owomflib.pas e49025a086 More -CriotR fixes: %!s(int64=6) %!d(string=hai) anos
parabase.pas b777dc21d7 * fix PowerPC compilation %!s(int64=5) %!d(string=hai) anos
paramgr.pas 4e1e35aef5 * Added optimization option cs_opt_unused_para. It is enabled for -O2 and higher. The parentfp optimization is tied to cs_opt_unused_para. %!s(int64=5) %!d(string=hai) anos
parser.pas 3db08d28e9 Set default stack size for i8086-embedded target: 16384 for far data model, and 2048 for other memory models %!s(int64=5) %!d(string=hai) anos
pass_1.pas 6f6598712f * synchronized with trunk %!s(int64=5) %!d(string=hai) anos
pass_2.pas 170ec00348 - removed withnode (was no longer used since a very long time) %!s(int64=6) %!d(string=hai) anos
pbase.pas 24c4b90343 * instead of declaring another type with a 'attribute' suffix, *search* for another type with a 'ATTRIBUTE' suffix (Delphi allows declaring both a TFoo and TFooAttribute in the same unit) %!s(int64=6) %!d(string=hai) anos
pcp.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler %!s(int64=6) %!d(string=hai) anos
pdecl.pas cc315e0ac7 * fix tw3930 after r37927 %!s(int64=4) %!d(string=hai) anos
pdecobj.pas 04a50733ad * get rid of the scanner message for attributes for real this time (sometimes I *really* hate Git -.-) %!s(int64=6) %!d(string=hai) anos
pdecsub.pas 721e89fafd * msdos: Force names of external routines to be all uppercase only in TP mode. %!s(int64=5) %!d(string=hai) anos
pdecvar.pas e7d1a77f9a * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS %!s(int64=5) %!d(string=hai) anos
pexports.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would %!s(int64=6) %!d(string=hai) anos
pexpr.pas 0bdc1fdea4 * do not set nonlocal for inter-procedural labels, this is not needed, they use %!s(int64=4) %!d(string=hai) anos
pgentype.pas 60345366f2 * fix for Mantis #35140: apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics %!s(int64=5) %!d(string=hai) anos
pgenutil.pas ff295bf349 * delay setting of pd_body and pd_implement till the header of a generic %!s(int64=5) %!d(string=hai) anos
pinline.pas 3cb341eabc * ensure that dispose(managed_ptr) does not result in multiple evaluations of %!s(int64=5) %!d(string=hai) anos
pkgutil.pas 84a1f614d9 * fix several double ; %!s(int64=5) %!d(string=hai) anos
pmodules.pas e7d1a77f9a * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS %!s(int64=5) %!d(string=hai) anos
pp.lpi 867786c953 * update version %!s(int64=5) %!d(string=hai) anos
pp.pas 0a62e6040b Reorder and complete list of supported CPUs %!s(int64=5) %!d(string=hai) anos
pparautl.pas 848ec1d219 * allow overloads with same result type for external Java classes due to Java supporting covariant return types for interfaces %!s(int64=5) %!d(string=hai) anos
ppc68k.lpi 9ebf2aa984 * project file updates %!s(int64=13) %!d(string=hai) anos
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers %!s(int64=8) %!d(string=hai) anos
ppcaarch64.lpi 1a559f5c60 * move the homogenous float aggregate determination function to a common %!s(int64=6) %!d(string=hai) anos
ppcarm.lpi 5573bee314 + makefiles use -Sew, so added to the project as well %!s(int64=5) %!d(string=hai) anos
ppcavr.lpi b9d4240a8d + version update %!s(int64=7) %!d(string=hai) anos
ppcjvm.lpi ac819b0b97 * jvm lazarus project file properly named %!s(int64=12) %!d(string=hai) anos
ppcmips.lpi 9ebf2aa984 * project file updates %!s(int64=13) %!d(string=hai) anos
ppcmips64el.lpi 9710b2cbb4 + some basic stuff for mips64el %!s(int64=5) %!d(string=hai) anos
ppcmipsel.lpi 9ebf2aa984 * project file updates %!s(int64=13) %!d(string=hai) anos
ppcppc.lpi 18a45d94a3 * version update %!s(int64=6) %!d(string=hai) anos
ppcppc64.lpi 9ebf2aa984 * project file updates %!s(int64=13) %!d(string=hai) anos
ppcriscv32.lpi 44150f43ac * RISC-V 32 compilation fixed %!s(int64=7) %!d(string=hai) anos
ppcriscv64.lpi 65a415c13e * fix assembling with official binutils %!s(int64=7) %!d(string=hai) anos
ppcsparc.lpi 188ec0f0c7 + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) %!s(int64=8) %!d(string=hai) anos
ppcsparc64.lpi 188ec0f0c7 + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) %!s(int64=8) %!d(string=hai) anos
ppcx64.lpi cd9e18fab4 * made lazarus project names more systematic %!s(int64=7) %!d(string=hai) anos
ppcx64llvm.lpi cd9e18fab4 * made lazarus project names more systematic %!s(int64=7) %!d(string=hai) anos
ppcxtensa.lpi 27349661e0 + Xtensa: lazarus project %!s(int64=5) %!d(string=hai) anos
ppcz80.lpi 1263880ef0 - removed the z80_internal_linker build mode from the lazarus project %!s(int64=5) %!d(string=hai) anos
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed %!s(int64=9) %!d(string=hai) anos
ppu.pas 871f60ef61 * increase PPU version so that 3.2.0 correctly ignores 3.3.1 PPUs instead of fatally failing on the extended header entry %!s(int64=5) %!d(string=hai) anos
procdefutil.pas 4da6465d05 * correctly set the generic related defoptions for an outlined procdef %!s(int64=5) %!d(string=hai) anos
procinfo.pas 7bffafdf8b * Improved the parentfp optimization to properly handle cases when a nested routine calls other nested routines. %!s(int64=5) %!d(string=hai) anos
psabiehpi.pas 1b3a3a7983 * Removed lot of unused local vars. It is useful to turn on the notes in options. :) %!s(int64=5) %!d(string=hai) anos
pstatmnt.pas 0bdc1fdea4 * do not set nonlocal for inter-procedural labels, this is not needed, they use %!s(int64=4) %!d(string=hai) anos
psub.pas 93eef547ae * improve call0 calling conventions %!s(int64=4) %!d(string=hai) anos
psystem.pas d401639b24 * fix for Mantis #37251: apply patches by Bi0T1N to implement the IsConstValue() intrinsic %!s(int64=5) %!d(string=hai) anos
ptconst.pas 276f5bdef8 * ensure that nothing assembly related is generated for generics when a typed constant (this also includes local variable initializations) are parsed %!s(int64=5) %!d(string=hai) anos
ptype.pas 60345366f2 * fix for Mantis #35140: apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics %!s(int64=5) %!d(string=hai) anos
raatt.pas a7c0fa0def o patch for Xtensa by Christo Crause, resolves #37099 %!s(int64=5) %!d(string=hai) anos
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from %!s(int64=19) %!d(string=hai) anos
rasm.pas 46fe2d486c * forgotten comment %!s(int64=7) %!d(string=hai) anos
rautils.pas 80111a0a60 * make local variables in assembler blocks working again after r44933 %!s(int64=5) %!d(string=hai) anos
rescmn.pas b88d12c7b9 + add option -FF to force the use of fpcres as RC compiler %!s(int64=5) %!d(string=hai) anos
rgbase.pas 4abc498f2f + added the Z80 individual flag bits as subregisters %!s(int64=5) %!d(string=hai) anos
rgobj.pas 2f21f5ae93 * Reverted r46836, since it does not work as expected for yet unknown reason. %!s(int64=4) %!d(string=hai) anos
scandir.pas e7d1a77f9a * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS %!s(int64=5) %!d(string=hai) anos
scanner.pas e83d214e98 + allow in ISO mode that { ... } and (* ... *) comments are paired, resolves at least partly #37428 %!s(int64=4) %!d(string=hai) anos
switches.pas be0d51d64c * allow $MinEnumSize, $PackSet and $PackRecords to be used with $Push and $Pop %!s(int64=7) %!d(string=hai) anos
symbase.pas 6edf6cad2c * also check for Nil symtables in tsymtable.includeoption %!s(int64=5) %!d(string=hai) anos
symconst.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. %!s(int64=5) %!d(string=hai) anos
symcreat.pas a2174753c1 - removed tabstractrecorddef.get_unit_symtable, which did not always return the unit %!s(int64=5) %!d(string=hai) anos
symdef.pas d1521e8061 * a classrefdef might also be created with a forwarddef, so handle that correctly %!s(int64=4) %!d(string=hai) anos
symsym.pas 14bc6674a6 * revert part of r45810 which was accidently committed %!s(int64=5) %!d(string=hai) anos
symtable.pas cc315e0ac7 * fix tw3930 after r37927 %!s(int64=4) %!d(string=hai) anos
symtype.pas a2174753c1 - removed tabstractrecorddef.get_unit_symtable, which did not always return the unit %!s(int64=5) %!d(string=hai) anos
symutil.pas 1a9e246c29 * added is_normal_fieldvarsym() helper and use it %!s(int64=5) %!d(string=hai) anos
syscinfo.pas d0f8ea7969 Add arm-palmos target to list supporting po_syscall %!s(int64=7) %!d(string=hai) anos
systems.inc d7122c6338 z80: preserve system ID and linker ID for the Amstrad CPC %!s(int64=5) %!d(string=hai) anos
systems.pas 324deca817 * wlib: Explicitly specify the smallest possible record align to reduce the size of .a files. %!s(int64=5) %!d(string=hai) anos
tgobj.pas 30a4f667c1 tgobj: Change direction of stack. %!s(int64=5) %!d(string=hai) anos
tokens.pas e72f324f42 * according to ISO 10206 (Extended Pascal) 6.9.3.5 the "otherwise"-clause is supported for case-statements %!s(int64=4) %!d(string=hai) anos
triplet.pas eb7ba1690e * mark all external assemblers using an LLVM tool using af_llvm %!s(int64=5) %!d(string=hai) anos
verbose.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled %!s(int64=8) %!d(string=hai) anos
version.pas 8ef29235c3 * Xtensa: set source_cpu_string %!s(int64=5) %!d(string=hai) anos
widestr.pas cb44d7d4e2 * some cleanup %!s(int64=5) %!d(string=hai) anos
wpo.pas 060d81b8fa Merged revisions 11878,11881-11882,11889,11891-11893,11895,11899-11902,11935,11938,12212,12304,12308-12310,12316,12330-12332,12334,12339-12340 via svnmerge from %!s(int64=16) %!d(string=hai) anos
wpobase.pas 5df9b994d1 * fix warnings which were caused by last changes to for node generation %!s(int64=8) %!d(string=hai) anos
wpoinfo.pas b1dff29cbf * removed unused units %!s(int64=8) %!d(string=hai) anos

README.txt

This directory contains the sources of the Free Pascal Compiler

If you want to compile/modify the compiler, please read first the
programmers manual.

To recompile the compiler, you can use the batch files :
+ mppc386.bat if you want to build a cross compiler from i386 to m68k
+ mppcsparc if you want to build a cross compiler from i386 to SPARC

or
Use the make utility as following

make OS_TARGET="compiler OS target" \
CPU_TARGET="compiler CPU target" \
FPCCPUOPT="Optimization level" \
PP="compiler used to compile FPC" \
COMPILER_OPTIONS="Options passed to compiler" \


If an option is omitted, then target CPU/OS will be same as current CPU/OS

Possibles targets are : linux go32v2 win32 os2 freebsd beos netbsd amiga haiku
atari sunos qnx netware openbsd wdosx palmos macos macosx emx

Possible compiler switches (* marks a currently required switch):
-----------------------------------------------------------------
GDB* support of the GNU Debugger
I386 generate a compiler for the Intel i386+
x86_64 generate a compiler for the AMD x86-64 architecture
M68K generate a compiler for the M68000
SPARC generate a compiler for SPARC
POWERPC generate a compiler for the PowerPC
VIS generate a compile for the VIS
DEBUG version with debug code is generated
EXTDEBUG some extra debug code is executed
SUPPORT_MMX only i386: releases the compiler switch
MMX which allows the compiler to generate
MMX instructions
EXTERN_MSG Don't compile the msgfiles in the compiler, always
use external messagefiles, default for TP
NOAG386INT no Intel Assembler output
NOAG386NSM no NASM output
NOAG386BIN leaves out the binary writer, default for TP
NORA386DIR No direct i386 assembler reader
TEST_GENERIC Test Generic version of code generator
(uses generic RTL calls)
-----------------------------------------------------------------
cpuflags The target processor has status flags (on by default)
cpufpemu The target compiler will also support emitting software
floating point operations
cpu64bitaddr The targets use a 64-bit address space (pointers and
the default integer type are 64 bit)
cpu64bitalu The target cpu has 64-bit registers available (unless
cpu64bitaddr is also defined, pointers and default
integer type remain 32 bit, but the cpu can perform
64 bit calculations directly without needing helpers)
-----------------------------------------------------------------

Required switches for a i386 compiler be compiled by Free Pascal Compiler:
GDB;I386

to build a compiler to SPARC target using a Win32/i386 you just use :
make CPU_TARGET=SPARC