Jonas Maebe bcf77c70fd default parameter values: fix crash 1 rok temu
..
aarch64 a517ada539 * on aarch64-darwin, the unused part of function results is not cleared 1 rok temu
arm be401422fd * more warnings after last commit fixed 2 lat temu
armgen 3e5f6d3228 * use AllocRegbetween in TARMAsmOptimizer.RemoveSuperfluousMove, resolves #39921 2 lat temu
avr be54d40660 Also add boot information to board aliases. 2 lat temu
generic ff3acfb8cd * cleanup of 2.7.0 defines 3 lat temu
html fa0d3d79e0 no message 23 lat temu
i386 99b01f6634 * second mul might get called with a zero operand if the other has a side effect, 2 lat temu
i8086 9c10167b6f + CPUX86_HAS_BSWAP 2 lat temu
jvm a401898139 * spelling fixes 3 lat temu
llvm 1a410bae12 LLVM: LLVM 17.0 support 2 lat temu
loongarch64 22a1acd610 Applied fix for binutils 2.41 for loongarch64 suggested by Jinyang He 2 lat temu
m68k 6bbb10e64d m68k: do not generate LEA instructions with explicitly specified size. only long is possible anyway. 2 lat temu
mips dc04a8a677 Fix storing of unaligned 64-bit to memory 2 lat temu
msg 63642b13c8 Add -vj option in options unit to set V_Parallel 1 rok temu
powerpc 762057f46d Fix compilation of 32-bit powerpc compiler 3 lat temu
powerpc64 cf4d02ef92 Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit 1 rok temu
ppcgen f3179cb718 Add system_powerpc_wii to supported_targets of powerpc generic GNU assembler 2 lat temu
riscv 8382c6f586 Added generic WCH32Vx RISC-V processor types using memory size suffixes 2 lat temu
riscv32 dd586da709 * formatting 2 lat temu
riscv64 52147baa04 * correct tripletcpustr, resolves #40301 2 lat temu
sparc 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 lat temu
sparc64 3bb2586269 Fix for sparc64 specific code generation bug report #40252 2 lat temu
sparcgen a6e0e1fe59 Handle unaligned copy in TCGSparcGen.g_concatcopy method 2 lat temu
systems 9440b17eea [AVR] Add command line options to selectively remove portions of the RTL startup code. 2 lat temu
utils 9440b17eea [AVR] Add command line options to selectively remove portions of the RTL startup code. 2 lat temu
wasm32 8bd18fc6d3 Merge remote-tracking branch 'origin/main' into wasm_js_promise_integration 2 lat temu
x86 3b455c1cf2 * fix #40390: implement support for handling parameter names (including __SELF and __HIGH(<identifier>)) that resolve directly to registers 1 rok temu
x86_64 82dd70e72f * fix parameter alignment on x86_64 when more than 6 parameters are involved (aka the stack is used) 2 lat temu
xtensa d24548f8d8 Disable -EB/-EL passing for freertos OS as the corresponding released binutils do not support this option 2 lat temu
z80 219fedfea6 Restore start section at end of assembler block inside z80 asm reader 2 lat temu
.gitignore e14692f594 git ignore msg2inc binary 2 lat temu
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 9 lat temu
MPWMake 43c50d0a32 Remove unused, obsolete -dBROWSERLOG option 4 lat temu
Makefile 484c178c15 Add new make variable BETATARGETS, for CPU targets in beta stage, to include it into distclean list 2 lat temu
Makefile.fpc 484c178c15 Add new make variable BETATARGETS, for CPU targets in beta stage, to include it into distclean list 2 lat temu
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 lat temu
aasmbase.pas f6c741ee73 * Corrected label reference counts caused by TAsmLabel.GetName incrementing refs 3 lat temu
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives 6 lat temu
aasmcnst.pas 8696ca652d * Emit comments in RTTI info for classes/interfaces 2 lat temu
aasmdata.pas cda8971baa Add dwarf cfa support 2 lat temu
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 5 lat temu
aasmsym.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 lat temu
aasmtai.pas a135940cf5 Mark .noinit section with nobits flag. 3 lat temu
aggas.pas 327aac7f24 Add aarch64-iphonesim target 2 lat temu
aopt.pas 9ec85f940e * do not remove register deallocations/allocation pairs if the register is written 4 lat temu
aoptbase.pas 1f8a9c708e * use RegistersInterfere instead of SuperRegistersEqual in TAoptBase.RegInOp and TAoptBase.RegInRef 5 lat temu
aoptda.pas b1dff29cbf * removed unused units 8 lat temu
aoptobj.pas 9ee672f9eb * New UpdateUsedRegsBetween utility subroutine 2 lat temu
aoptutils.pas bae583118a * patch by J. Gareth Moreton: x86 JccMovJmpMov2MovSetcc improvement, resolves #38761 4 lat temu
assemble.pas 144ee6d51d Add missing swaping in case of different endianess of stab entry inside TInternalAssembler.WriteStab 2 lat temu
blockutl.pas 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not 3 lat temu
browcol.pas 168016b865 * patch by Rika: Use linear file list in FInput.TInputFileManager instead of linked, resolves #39880 2 lat temu
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 lat temu
ccharset.pas cb44d7d4e2 * some cleanup 5 lat temu
cclasses.pas 466561f09f * patch by Rika: Use Index* for pointer lists, resolves #40218 2 lat temu
cepiktimer.pas 99d88b91a9 * do not include fpcdefs in the cepiktimer unit 4 lat temu
cfidwarf.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 lat temu
cfileutl.pas 299f942d29 * change TCachedSearchRec.Attr to longint as TCachedDirectoryEntry.Attr is also a longint, resolves #40343 2 lat temu
cg64f32.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned 3 lat temu
cgbase.pas 11712658b0 + implemented WebAssembly code generator support for funcref and externref data 2 lat temu
cgexcept.pas fe57cd3536 * fix LLVM after r48828 4 lat temu
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 lat temu
cgobj.pas 5cdef8050b * Fixed bug in register preservation tracking 2 lat temu
cgutils.pas 131c1e1b93 * Converted assertion into an internal error 3 lat temu
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled 8 lat temu
comphook.pas 63642b13c8 Add -vj option in options unit to set V_Parallel 1 rok temu
compiler.pas 88959bdda7 * m68k-sinclairql: fix the inclusion of the target proper 3 lat temu
compinnr.pas 54299874d3 + implemented memory.grow and memory.size intrinsics and implemented SysOSAlloc 4 lat temu
comprsrc.pas 971d7baa8a * patch by Cyrax: Quote path - which is passed to Windres or alike program, resolves #36526 3 lat temu
comptty.pas 682e29c4ff + enable colored output on darwin, resolves #38693 4 lat temu
constexp.pas a6d6f93887 * revert accidently committed code 3 lat temu
cprofile.pas 6612bb4434 * proper naming 5 lat temu
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 lat temu
cresstr.pas ed50a1941b * Unicode resource strings 2 lat temu
cscript.pas f5e5f9645c Add fForceUseForwardSlash to TLinkRes class, used for vlink linker on hosts using backslashes 4 lat temu
cstreams.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 3 lat temu
cutils.pas 3ad8b4199c * patch by Rika: Shorten cutils.compareansistrings, resolves #40213 2 lat temu
dbgbase.pas cf4d02ef92 Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit 1 rok temu
dbgcodeview.pas 04727844b5 * Fixed value of the LF_PAD13 enum element. 4 lat temu
dbgdwarf.pas 8cd10d88cc * revert use of DW_AT_external for types as this is not covered by the dwarf standard 2 lat temu
dbgdwarfconst.pas b797bbf5dc * spelling fixed 2 lat temu
dbgstabs.pas a401898139 * spelling fixes 3 lat temu
dbgstabx.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the 5 lat temu
defcmp.pas f00a932cc6 * New is_cyclic function to detect if def references itself - fixes #40010 2 lat temu
defutil.pas cd6d048588 * Add is_systemunit_unicode function (cchartype suymbol) 2 lat temu
dirparse.pas 93be88b270 * reverted r47862 4 lat temu
dwarfbase.pas 1fc54dd8bb * improve dwarf cfi on avr 2 lat temu
elfbase.pas 245b58c249 + support for arm attributes 5 lat temu
entfile.pas c38cc828e8 Add new test code to verify that tentfile.buf limits are not overpassed 2 lat temu
export.pas 2f1ccd6f2a + support 'promising last' exports 2 lat temu
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa 6 lat temu
finput.pas 168016b865 * patch by Rika: Use linear file list in FInput.TInputFileManager instead of linked, resolves #39880 2 lat temu
fmodule.pas 64feb6a5cd * $NAMESPACES directive 2 lat temu
fpcdefs.inc 12c4290ffe Add loongarch64 architecture support to compiler 2 lat temu
fpchash.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 3 lat temu
fpcp.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 lat temu
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 lat temu
fppu.pas 64feb6a5cd * $NAMESPACES directive 2 lat temu
gendef.pas 3af74d2fd2 + implement initial compiler support for Win64 on Aarch64 5 lat temu
globals.pas d2edd6fd2f Change V_Parallel so that V_All doesn't contain V_Parallel, only explicit -vj will add main source file information 1 rok temu
globstat.pas 04bbfd1746 * fix for Mantis #27378: save and (more importantly) restore verbosity when switching a unit 6 lat temu
globtype.pas 9440b17eea [AVR] Add command line options to selectively remove portions of the RTL startup code. 2 lat temu
hlcg2ll.pas 67d80d414b * do not copy parameters onto the stack using FPU registers if the type is 3 lat temu
hlcgobj.pas ee0ad3ff86 thlcgobj.g_undefined_ok: new method 2 lat temu
htypechk.pas 13346a42bc volatile: allow for assignments 2 lat temu
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. 11 lat temu
import.pas b1dff29cbf * removed unused units 8 lat temu
ldscript.pas 70b0cb99d4 * SetString needs correctly typed argument 2 lat temu
link.pas 708aaa7b97 * fix (hopefully) build without an ld.bfd variant 2 lat temu
macho.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 lat temu
machoutils.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 lat temu
msgidx.inc 67f89afe99 Regenerate msg*.inc files after adding -vj option description 1 rok temu
msgtxt.inc 67f89afe99 Regenerate msg*.inc files after adding -vj option description 1 rok temu
nadd.pas 3eee2d8ff3 * Do not insert a widestring <-> ansistring conversion node when checking for (un)equal empty string. 2 lat temu
nbas.pas 7854152304 * Adjustment to TBLockNode.pass_1 to actually strip nothing nodes 2 lat temu
ncal.pas 78025d90b3 + add a tcallnodeflag value that prohibits the tcallnode.pass_typecheck to return a procvar in case of a call without parameters with a found symbol, but no suitable procdef 2 lat temu
ncgadd.pas bbece3e668 * MIPS64 can 3 lat temu
ncgbas.pas c78e9557f8 * Added support for the old Turbo Pascal INLINE(data/data/...) statement. 4 lat temu
ncgcal.pas dce70b3b70 Short version of the mips code genration bug 2 lat temu
ncgcnv.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 lat temu
ncgcon.pas a285500d36 * patch by Rike: Use reverse_longword instead of manually reversing longword, resolves #39720 3 lat temu
ncgflw.pas b78761efd3 * Removed obsolete OLDREGVARS ifdefs. 3 lat temu
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 lat temu
ncginl.pas c59b6a5d8d * High() and Length() for dynamic arrays deal with sizesinttype instead of ossinttype (on AVR the former is 16-bit while the later is 8-bit thus this is an important distinction) 3 lat temu
ncgld.pas f562a8d9fd * hopefully final fix after 9848349610219cd0d2dadc67b112fb09a8317e91 2 lat temu
ncgmat.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned 3 lat temu
ncgmem.pas a5f6505edc * fix range checking for zero based strings, resolves #39323 4 lat temu
ncgnstfl.pas d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms 6 lat temu
ncgnstld.pas cf9596421b * fixed crashes on platforms using parentfpstructs with generic routines 6 lat temu
ncgnstmm.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. 5 lat temu
ncgobjc.pas b1dff29cbf * removed unused units 8 lat temu
ncgopt.pas b1dff29cbf * removed unused units 8 lat temu
ncgrtti.pas 125bd9d5e9 Create invoke helper if requested and reference it in RTTI 2 lat temu
ncgset.pas 29bae2297f tcginnode.pass_generate_code: use tlhcgobj.g_undefined_ok 2 lat temu
ncgutil.pas a76038e1d1 hlcgobj: new getlocal and recordnewsymloc methods 3 lat temu
ncgvmt.pas 30a7199165 * make the VMT symbol and type def of the corresponding class or object instead of having them be global 3 lat temu
ncnv.pas 4e959de2c7 * Do not insert widechar -> ansichar conversion node in const declaration 2 lat temu
ncon.pas 6dc47c71fb tstringconstnode.changestringtype: fix buffer overrun 3 lat temu
nflw.pas 5670a7543c * properly reset nf_write/nf_modify flags for min/max inline nodes, needed by dead store optimization, resolves #39958 2 lat temu
ngenutil.pas 5135b586cb * fix #39857: don't trash symbols marked as vo_is_internal 3 lat temu
ngtcon.pas 12bde4e903 WPO: fix dead code detection, and handle procvars 2 lat temu
ninl.pas bcf77c70fd default parameter values: fix crash 1 rok temu
nld.pas 12bde4e903 WPO: fix dead code detection, and handle procvars 2 lat temu
nmat.pas 02289d1f5b + fold "a shl n1 shl n2" and "a shr n1 shr n2" into "a shl (n1+n2)" and "a shr (n1+n2)", resolves #39629 3 lat temu
nmem.pas 12bde4e903 WPO: fix dead code detection, and handle procvars 2 lat temu
nobj.pas 30a7199165 * make the VMT symbol and type def of the corresponding class or object instead of having them be global 3 lat temu
nobjc.pas 68eb921d46 * broken compilation after r39347 fixed 7 lat temu
node.pas 7488f1e3f8 * New node pruning methods 2 lat temu
nopt.pas bb51ac77dd * the right side of a concatenation of multiple ShortString values can directly pass any String[x] to the utility routine, because only the Length() is used, not High() and nothing is modified (also typed pointers must not be used for them); this allows for better code generation for strings with a maximum length < 255 2 lat temu
nset.pas 3094f75690 * WebAssembly code generation for 'case' nodes changed to use labels 3 lat temu
nutils.pas 3db1415a44 * generate correct dfa for subroutines declared as safecall 2 lat temu
objcasm.pas 6404478ea4 * cleanup of VER3_0 defines 3 lat temu
objcdef.pas 5d02c65425 objcdef: remove duplicate variant start check 3 lat temu
objcgutl.pas 327aac7f24 Add aarch64-iphonesim target 2 lat temu
objcutil.pas df3a0af7e0 objc: use compile-time macOS version checks 2 lat temu
ogbase.pas 144ee6d51d Add missing swaping in case of different endianess of stab entry inside TInternalAssembler.WriteStab 2 lat temu
ogcoff.pas ff673eadac Add unit specifiers for tlsdirectory fields: they need to be PUInt from globtype unit 2 lat temu
ogelf.pas 17e3c31b7e Fix gotpcrel relocation for TESTQ x86_64 instruction 4 lat temu
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 lat temu
ogmacho.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 lat temu
ogmap.pas 70b0cb99d4 * SetString needs correctly typed argument 2 lat temu
ognlm.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 lat temu
ogomf.pas c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 3 lat temu
ogrel.pas cf5feb0dca + support writing of 32-bit and 64-bit relocations in the REL object writer 3 lat temu
ogwasm.pas 322befbf56 + added mutable globals to the target switches section 2 lat temu
omfbase.pas c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 3 lat temu
optbase.pas b5659df425 + CalcUseSum: calculates a sum of all use sets of the current node and its children 5 lat temu
optconstprop.pas 444fe092da * propertly check equality with the for-counter when propagating constants, resolves #39915 2 lat temu
optcse.pas 5921fa9a62 + store references to global variables in registers if benefical (currrently used for aarch64 only) 3 lat temu
optdead.pas b1dff29cbf * removed unused units 8 lat temu
optdeadstore.pas e67670fa70 * changed of do_optdeadstoreelim must be passed by reference as noted by Alexey Torgashin 2 lat temu
optdfa.pas a27cb35fa8 * propagate life info properly 2 lat temu
options.pas 9440b17eea [AVR] Add command line options to selectively remove portions of the RTL startup code. 2 lat temu
optloadmodifystore.pas 07698050e5 * Before r35961 (back in 2017) some simple assignment optimizations, such as "x:=x+y" to "inc(x,y)", were performed when -O2 in tassignmentnode.simplify. In r35961 these optimizations were moved to a separate pass which is enabled only when -O3 by cs_opt_use_load_modify_store. This separate pass can benefit from other optimization. But worse code is generated with -O2 since then. 4 lat temu
optloop.pas 7388735b11 * Strength reduction optimization: - Use a temp for complex loop start values to prevent double evaluation. 3 lat temu
opttail.pas dd6e6eb26a * disable tail recursion optimisation if there is a copy-back parameter 5 lat temu
optutils.pas 466561f09f * patch by Rika: Use Index* for pointer lists, resolves #40218 2 lat temu
optvirt.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 lat temu
owar.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL 5 lat temu
owbase.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL 5 lat temu
owomflib.pas cf4d02ef92 Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit 1 rok temu
parabase.pas abfd975571 TCGParaLocation: remove alignment gap 3 lat temu
paramgr.pas 6404478ea4 * cleanup of VER3_0 defines 3 lat temu
parser.pas 7974f39522 * implement assignment of procedure and method variables and routines (global, instance and nested) to function references 3 lat temu
pass_1.pas 95e5eeb226 * fix compilation with -dEXTDEBUG 2 lat temu
pass_2.pas 1b43913408 * New 'do not execute' flag for notes and respective internal error triggering 2 lat temu
pbase.pas f364bb6b11 * Forbid use of string alias in system unit 2 lat temu
pcp.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 3 lat temu
pdecl.pas ed50a1941b * Unicode resource strings 2 lat temu
pdecobj.pas 92f148e667 * Generate hidden class to be used for TVirtualInterface (wasm only) 2 lat temu
pdecsub.pas 2df57e117b * fix #40381: also check for hints when parsing the parameters of a routine (including open array parameters) or the result type of a function 1 rok temu
pdecvar.pas fce34eb4bf + disallow WebAssembly reference types in records, objects and classes 2 lat temu
pexports.pas f800e40595 + print an error message, in case 'promising' exports are used on non-WebAssembly platform 2 lat temu
pexpr.pas ed50a1941b * Unicode resource strings 2 lat temu
pgentype.pas 2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 3 lat temu
pgenutil.pas a9cc89ff46 * Allow hidden units to be found when replaying generic 2 lat temu
pinline.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 3 lat temu
pkgutil.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 lat temu
pmodules.pas 9e228ff355 * Allow System.Variants (Delphi-compatible name) to be found when inserting variants unit 2 lat temu
pp.lpi 867786c953 * update version 5 lat temu
pp.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 lat temu
pparautl.pas f721210638 * fix #40142 and #40324: don't alias the function name to the $result variable for anonymous functions unless an explicit result name is provided 2 lat temu
ppc68k.lpi 8192bf1b33 * version update 4 lat temu
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 lat temu
ppcaarch64.lpi 7909f00c83 * project files updated 2 lat temu
ppcarm.lpi 7909f00c83 * project files updated 2 lat temu
ppcavr.lpi 7909f00c83 * project files updated 2 lat temu
ppcjvm.lpi 7909f00c83 * project files updated 2 lat temu
ppcmips.lpi 7909f00c83 * project files updated 2 lat temu
ppcmips64el.lpi 7909f00c83 * project files updated 2 lat temu
ppcmipsel.lpi 7909f00c83 * project files updated 2 lat temu
ppcppc.lpi 7909f00c83 * project files updated 2 lat temu
ppcppc64.lpi 7909f00c83 * project files updated 2 lat temu
ppcppc64le.lpi 7909f00c83 * project files updated 2 lat temu
ppcriscv32.lpi 7909f00c83 * project files updated 2 lat temu
ppcriscv64.lpi 7909f00c83 * project files updated 2 lat temu
ppcsparc.lpi 7909f00c83 * project files updated 2 lat temu
ppcsparc64.lpi 7909f00c83 * project files updated 2 lat temu
ppcwasm32.lpi 99074a5578 * .lpi version update 3 lat temu
ppcx64.lpi ed50a1941b * Unicode resource strings 2 lat temu
ppcx64llvm.lpi 7909f00c83 * project files updated 2 lat temu
ppcxtensa.lpi 7909f00c83 * project files updated 2 lat temu
ppcz80.lpi 7909f00c83 * project files updated 2 lat temu
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed 9 lat temu
ppu.pas bbedb958f6 * bump CurrentPPULongVersion 2 lat temu
procdefutil.pas 08dca09c7e * revert 430bcac389c29a5ceca7759cfca69454aa31abf9 as with the change that the functions to insert hidden parameters are idempotent this is no longer required and also wrong as uses of the deleted symbols aside from Self and the framepointer would be left dangling 2 lat temu
procinfo.pas 9f3dcdb211 + add method to find a procinfo for a nested function by the corresponding procdef 3 lat temu
psabiehpi.pas fe57cd3536 * fix LLVM after r48828 4 lat temu
pstatmnt.pas 55deefbab5 * do not crash on illegal with statement, resolves #40118 2 lat temu
psub.pas 50040a2cab default values: store as staticvarsyms in staticsymtable 2 lat temu
psystem.pas adf9f98f7c * Define char as AnsiChar 2 lat temu
ptconst.pas 276f5bdef8 * ensure that nothing assembly related is generated for generics when a typed constant (this also includes local variable initializations) are parsed 5 lat temu
ptype.pas f364bb6b11 * Forbid use of string alias in system unit 2 lat temu
raatt.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 lat temu
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 lat temu
rasm.pas 46fe2d486c * forgotten comment 7 lat temu
rautils.pas 8b08486fa1 * do not warn on lea e/rsp with negative address offset, part of #40113 2 lat temu
rescmn.pas b88d12c7b9 + add option -FF to force the use of fpcres as RC compiler 5 lat temu
rgbase.pas 4abc498f2f + added the Z80 individual flag bits as subregisters 5 lat temu
rgobj.pas b49c3fe4f8 Aslo check that live_end is assigned before refering to it 2 lat temu
scandir.pas 64feb6a5cd * $NAMESPACES directive 2 lat temu
scanner.pas f364bb6b11 * Forbid use of string alias in system unit 2 lat temu
switches.pas 6cbbf9c52a * $P/$OpenStrings is supposed to be a local switch, so change that accordingly 2 lat temu
symbase.pas 8184287ec0 Fix for variables longer than 127 chars 3 lat temu
symconst.pas 7085083559 * Additional fields/enums for invoke helper 2 lat temu
symcreat.pas 125bd9d5e9 Create invoke helper if requested and reference it in RTTI 2 lat temu
symdef.pas cd6d048588 * Add is_systemunit_unicode function (cchartype suymbol) 2 lat temu
symsym.pas 706443c354 dbgllvm: support for record field debug information 3 lat temu
symtable.pas a74a35a16e * Check that system unit is actually loaded before using it to search for system symbols 2 lat temu
symtype.pas 8f3cce556d * some error messages use nicer symbol names 2 lat temu
symutil.pas 7f41bb4718 JVM: add typesym for anonymous record typed constants 2 lat temu
syscinfo.pas 568d4de77e * aros64: recent developments hanged the library call ABI, lets try to follow it (aros64 is experimental) 3 lat temu
systems.inc 5a123d33ba Add -Awin64-as option for aarch64 compiler for win64 target 2 lat temu
systems.pas 48556ab039 + enable the reference types extension in llvm-mc via a command line option 2 lat temu
tgobj.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 lat temu
tokens.pas 4d62764fa3 + also allow declaring an external as 'suspending first' 2 lat temu
triplet.pas 327aac7f24 Add aarch64-iphonesim target 2 lat temu
verbose.pas 63642b13c8 Add -vj option in options unit to set V_Parallel 1 rok temu
version.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 lat temu
versioncmp.pas 68253e2a73 Missing file from b26703feaa9 2 lat temu
wasmbase.pas efd92fba01 + introduced TWasmCustomDebugSectionType 3 lat temu
widestr.pas cb44d7d4e2 * some cleanup 5 lat temu
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 16 lat temu
wpobase.pas 12bde4e903 WPO: fix dead code detection, and handle procvars 2 lat temu
wpoinfo.pas b1dff29cbf * removed unused units 8 lat temu

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