florian ef7706ebfa * allow set type to be a generic parameter, resolves #40453 před 2 roky
..
aarch64 38b1175531 * according to Jonas iOS doesn't zero extend results in the callee either, so check removed před 1 rokem
arm be401422fd * more warnings after last commit fixed před 3 roky
armgen 3e5f6d3228 * use AllocRegbetween in TARMAsmOptimizer.RemoveSuperfluousMove, resolves #39921 před 3 roky
avr 5d489b2464 Also add boot information to board aliases. před 1 rokem
generic ff3acfb8cd * cleanup of 2.7.0 defines před 4 roky
html fa0d3d79e0 no message před 23 roky
i386 a9fc5df569 * second mul might get called with a zero operand if the other has a side effect, před 1 rokem
i8086 7b95ae1dea + CPUX86_HAS_BSWAP před 1 rokem
jvm a401898139 * spelling fixes před 3 roky
llvm e489539b03 Rename fields of tspillregsinfo record to avoid having same field names as treginfo record před 1 rokem
loongarch64 b4840bd905 Try to fix crash in loongarch64 compiler před 1 rokem
m68k 9ee063e78b m68k: do not generate LEA instructions with explicitly specified size. only long is possible anyway. před 1 rokem
mips 0048a91e15 Fix storing of unaligned 64-bit to memory před 1 rokem
msg a44fe0a9a0 Add -vj option in options unit to set V_Parallel před 1 rokem
powerpc 762057f46d Fix compilation of 32-bit powerpc compiler před 3 roky
powerpc64 5da684a82f Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit před 1 rokem
ppcgen f3179cb718 Add system_powerpc_wii to supported_targets of powerpc generic GNU assembler před 3 roky
riscv b0adc3cf0c Added generic WCH32Vx RISC-V processor types using memory size suffixes před 1 rokem
riscv32 e7aa87c503 * formatting před 1 rokem
riscv64 02a6e33f0a * correct tripletcpustr, resolves #40301 před 1 rokem
sparc 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already před 3 roky
sparc64 019f3f6684 Fix for sparc64 specific code generation bug report #40252 před 1 rokem
sparcgen 20d0fab8e9 Handle unaligned copy in TCGSparcGen.g_concatcopy method před 1 rokem
systems 3ee4991ada Change loongarch64 default dynamic linker directory according to gcc před 1 rokem
utils aec034678a Update compiler related Makefile's před 1 rokem
wasm32 d2c94a3c26 * fixed the label resolution for asmlists with WebAssembly native exceptions před 1 rokem
x86 c718062d44 * throw an error if instructions which needs an operand size is used with one operand being a reference without size před 1 rokem
x86_64 92d6625964 * fix parameter alignment on x86_64 when more than 6 parameters are involved (aka the stack is used) před 1 rokem
xtensa 8435279cf2 Disable -EB/-EL passing for freertos OS as the corresponding released binutils do not support this option před 1 rokem
z80 5e1453092e Restore start section at end of assembler block inside z80 asm reader před 1 rokem
.gitignore 7d073e638a git ignore msg2inc binary před 1 rokem
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) před 9 roky
MPWMake 43c50d0a32 Remove unused, obsolete -dBROWSERLOG option před 4 roky
Makefile cb5d54ca02 Avoid troubles with exported directories před 1 rokem
Makefile.fpc cb5d54ca02 Avoid troubles with exported directories před 1 rokem
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files před 16 roky
aasmbase.pas b9172d5e12 + allow jumps to goto targets před 1 rokem
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives před 6 roky
aasmcnst.pas 39b7ab29b0 * Emit comments in RTTI info for classes/interfaces před 1 rokem
aasmdata.pas 9d7d5f9fc1 Add dwarf cfa support před 1 rokem
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 před 5 roky
aasmsym.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would před 6 roky
aasmtai.pas c899ae277a + added ait_wasm_structured_instruction to the SkipLineInfo set před 1 rokem
aggas.pas 4be72e2c1f + also debug print structured try..catch and try..delegate blocks před 1 rokem
aopt.pas 9ec85f940e * do not remove register deallocations/allocation pairs if the register is written před 4 roky
aoptbase.pas 1f8a9c708e * use RegistersInterfere instead of SuperRegistersEqual in TAoptBase.RegInOp and TAoptBase.RegInRef před 5 roky
aoptda.pas b1dff29cbf * removed unused units před 8 roky
aoptobj.pas 24a31c2b7d * New UpdateUsedRegsBetween utility subroutine před 1 rokem
aoptutils.pas bae583118a * patch by J. Gareth Moreton: x86 JccMovJmpMov2MovSetcc improvement, resolves #38761 před 4 roky
assemble.pas 0a297b1e2d Add missing swaping in case of different endianess of stab entry inside TInternalAssembler.WriteStab před 1 rokem
blockutl.pas 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not před 3 roky
browcol.pas 168016b865 * patch by Rika: Use linear file list in FInput.TInputFileManager instead of linked, resolves #39880 před 3 roky
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because před 16 roky
ccharset.pas cb44d7d4e2 * some cleanup před 5 roky
cclasses.pas 8270af8a01 * patch by Rika: Use Index* for pointer lists, resolves #40218 před 1 rokem
cepiktimer.pas 99d88b91a9 * do not include fpcdefs in the cepiktimer unit před 4 roky
cfidwarf.pas 1b9dfd371d Add loongarch64 architecture support to compiler před 1 rokem
cfileutl.pas a83c98c0de * change TCachedSearchRec.Attr to longint as TCachedDirectoryEntry.Attr is also a longint, resolves #40343 před 1 rokem
cg64f32.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned před 3 roky
cgbase.pas 941520415d + implemented WebAssembly code generator support for funcref and externref data před 1 rokem
cgexcept.pas fe57cd3536 * fix LLVM after r48828 před 4 roky
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 před 10 roky
cgobj.pas ad7d4379fe + introduced [hl]cg.a_label_pascal_goto_target. It is similar to [hl]cg.a_label před 1 rokem
cgutils.pas 131c1e1b93 * Converted assertion into an internal error před 3 roky
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled před 8 roky
comphook.pas a44fe0a9a0 Add -vj option in options unit to set V_Parallel před 1 rokem
compiler.pas 88959bdda7 * m68k-sinclairql: fix the inclusion of the target proper před 3 roky
compinnr.pas 54299874d3 + implemented memory.grow and memory.size intrinsics and implemented SysOSAlloc před 4 roky
comprsrc.pas 971d7baa8a * patch by Cyrax: Quote path - which is passed to Windres or alike program, resolves #36526 před 3 roky
comptty.pas 682e29c4ff + enable colored output on darwin, resolves #38693 před 4 roky
constexp.pas a6d6f93887 * revert accidently committed code před 3 roky
cprofile.pas 6612bb4434 * proper naming před 5 roky
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables před 12 roky
cresstr.pas e9825e5db4 * Unicode resource strings před 1 rokem
cscript.pas f5e5f9645c Add fForceUseForwardSlash to TLinkRes class, used for vlink linker on hosts using backslashes před 4 roky
cstreams.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 před 3 roky
cutils.pas fa2e4d7d15 * patch by Rika: Shorten cutils.compareansistrings, resolves #40213 před 1 rokem
dbgbase.pas 5da684a82f Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit před 1 rokem
dbgcodeview.pas 04727844b5 * Fixed value of the LF_PAD13 enum element. před 4 roky
dbgdwarf.pas 002c7efa7a * revert use of DW_AT_external for types as this is not covered by the dwarf standard před 1 rokem
dbgdwarfconst.pas f2b62a2ce4 * spelling fixed před 1 rokem
dbgstabs.pas a401898139 * spelling fixes před 3 roky
dbgstabx.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the před 5 roky
defcmp.pas 12c8d24ec3 * New is_cyclic function to detect if def references itself - fixes #40010 před 2 roky
defutil.pas 90eb89da9e * Add is_systemunit_unicode function (cchartype suymbol) před 1 rokem
dirparse.pas 93be88b270 * reverted r47862 před 4 roky
dwarfbase.pas 1fc54dd8bb * improve dwarf cfi on avr před 3 roky
elfbase.pas 245b58c249 + support for arm attributes před 6 roky
entfile.pas a75a5f9432 Add new test code to verify that tentfile.buf limits are not overpassed před 1 rokem
export.pas 5cd7b7a348 + support 'promising last' exports před 1 rokem
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa před 6 roky
finput.pas 168016b865 * patch by Rika: Use linear file list in FInput.TInputFileManager instead of linked, resolves #39880 před 3 roky
fmodule.pas 3b5fded2b3 * $NAMESPACES directive před 1 rokem
fpcdefs.inc 1b9dfd371d Add loongarch64 architecture support to compiler před 1 rokem
fpchash.pas a4672fbd1c o based on a patch by Rika, resolves #39401: před 4 roky
fpcp.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 před 5 roky
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: před 9 roky
fppu.pas 3b5fded2b3 * $NAMESPACES directive před 1 rokem
gendef.pas 3af74d2fd2 + implement initial compiler support for Win64 on Aarch64 před 5 roky
globals.pas 4c21f6cd43 Change V_Parallel so that V_All doesn't contain V_Parallel, only explicit -vj will add main source file information před 1 rokem
globstat.pas 04bbfd1746 * fix for Mantis #27378: save and (more importantly) restore verbosity when switching a unit před 6 roky
globtype.pas 0fbe56fe78 [AVR] Add command line options to selectively remove portions of the RTL startup code. před 1 rokem
hlcg2ll.pas 67d80d414b * do not copy parameters onto the stack using FPU registers if the type is před 3 roky
hlcgobj.pas ad7d4379fe + introduced [hl]cg.a_label_pascal_goto_target. It is similar to [hl]cg.a_label před 1 rokem
htypechk.pas 3f5443953e volatile: allow for assignments před 1 rokem
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. před 11 roky
import.pas b1dff29cbf * removed unused units před 8 roky
ldscript.pas b9577205e8 * SetString needs correctly typed argument před 1 rokem
link.pas d1a9e02d86 * fix (hopefully) build without an ld.bfd variant před 1 rokem
macho.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler před 6 roky
machoutils.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler před 6 roky
msg2inc da9bdad3cb + exec_e_cant_call_linker shows now the error message před 1 rokem
msgidx.inc ab9bda45b4 Regenerate msg*.inc files after adding -vj option description před 1 rokem
msgtxt.inc ab9bda45b4 Regenerate msg*.inc files after adding -vj option description před 1 rokem
nadd.pas 7ae949895a * Do not insert a widestring <-> ansistring conversion node when checking for (un)equal empty string. před 1 rokem
nbas.pas 7a7dc58c0d * Adjustment to TBLockNode.pass_1 to actually strip nothing nodes před 1 rokem
ncal.pas 8227012197 + 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 před 1 rokem
ncgadd.pas bbece3e668 * MIPS64 can před 3 roky
ncgbas.pas c78e9557f8 * Added support for the old Turbo Pascal INLINE(data/data/...) statement. před 4 roky
ncgcal.pas dce70b3b70 Short version of the mips code genration bug před 2 roky
ncgcnv.pas 1b9dfd371d Add loongarch64 architecture support to compiler před 1 rokem
ncgcon.pas a285500d36 * patch by Rike: Use reverse_longword instead of manually reversing longword, resolves #39720 před 3 roky
ncgflw.pas ad7d4379fe + introduced [hl]cg.a_label_pascal_goto_target. It is similar to [hl]cg.a_label před 1 rokem
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false před 10 roky
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) před 3 roky
ncgld.pas f562a8d9fd * hopefully final fix after 9848349610219cd0d2dadc67b112fb09a8317e91 před 3 roky
ncgmat.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned před 3 roky
ncgmem.pas a5f6505edc * fix range checking for zero based strings, resolves #39323 před 4 roky
ncgnstfl.pas d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms před 6 roky
ncgnstld.pas cf9596421b * fixed crashes on platforms using parentfpstructs with generic routines před 6 roky
ncgnstmm.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. před 5 roky
ncgobjc.pas b1dff29cbf * removed unused units před 8 roky
ncgopt.pas b1dff29cbf * removed unused units před 8 roky
ncgrtti.pas ccc2f345cf Create invoke helper if requested and reference it in RTTI před 1 rokem
ncgset.pas 18ede7caae tcginnode.pass_generate_code: use tlhcgobj.g_undefined_ok před 1 rokem
ncgutil.pas a76038e1d1 hlcgobj: new getlocal and recordnewsymloc methods před 3 roky
ncgvmt.pas 30a7199165 * make the VMT symbol and type def of the corresponding class or object instead of having them be global před 3 roky
ncnv.pas 4e641d008d * Do not insert widechar -> ansichar conversion node in const declaration před 1 rokem
ncon.pas 6dc47c71fb tstringconstnode.changestringtype: fix buffer overrun před 3 roky
nflw.pas 5670a7543c * properly reset nf_write/nf_modify flags for min/max inline nodes, needed by dead store optimization, resolves #39958 před 3 roky
ngenutil.pas 0d864b1853 LLVM: fix double init/fini of local managed variables accessed from nested functions před 1 rokem
ngtcon.pas 0594f9ae59 WPO: fix dead code detection, and handle procvars před 1 rokem
ninl.pas 0fbbc9fa97 default parameter values: fix crash před 1 rokem
nld.pas 0594f9ae59 WPO: fix dead code detection, and handle procvars před 1 rokem
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 před 3 roky
nmem.pas 0594f9ae59 WPO: fix dead code detection, and handle procvars před 1 rokem
nobj.pas 30a7199165 * make the VMT symbol and type def of the corresponding class or object instead of having them be global před 3 roky
nobjc.pas 68eb921d46 * broken compilation after r39347 fixed před 7 roky
node.pas 83bbb10df3 * New node pruning methods před 1 rokem
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 před 3 roky
nset.pas 3094f75690 * WebAssembly code generation for 'case' nodes changed to use labels před 4 roky
nutils.pas 3db1415a44 * generate correct dfa for subroutines declared as safecall před 2 roky
objcasm.pas 6404478ea4 * cleanup of VER3_0 defines před 3 roky
objcdef.pas 5d02c65425 objcdef: remove duplicate variant start check před 3 roky
objcgutl.pas 1cb4a08418 Add aarch64-iphonesim target před 1 rokem
objcutil.pas df3a0af7e0 objc: use compile-time macOS version checks před 3 roky
ogbase.pas 0a297b1e2d Add missing swaping in case of different endianess of stab entry inside TInternalAssembler.WriteStab před 1 rokem
ogcoff.pas 018278858f Add unit specifiers for tlsdirectory fields: they need to be PUInt from globtype unit před 1 rokem
ogelf.pas 17e3c31b7e Fix gotpcrel relocation for TESTQ x86_64 instruction před 4 roky
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using před 10 roky
ogmacho.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the před 5 roky
ogmap.pas b9577205e8 * SetString needs correctly typed argument před 1 rokem
ognlm.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the před 5 roky
ogomf.pas c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 před 3 roky
ogrel.pas cf5feb0dca + support writing of 32-bit and 64-bit relocations in the REL object writer před 3 roky
ogwasm.pas 4b29633cd7 + added mutable globals to the target switches section před 1 rokem
omfbase.pas c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 před 3 roky
optbase.pas b5659df425 + CalcUseSum: calculates a sum of all use sets of the current node and its children před 5 roky
optconstprop.pas 444fe092da * propertly check equality with the for-counter when propagating constants, resolves #39915 před 3 roky
optcse.pas 00dc6a96b0 * fixed a div by zero error, when compiling a wasi-hosted compiler před 1 rokem
optdead.pas b1dff29cbf * removed unused units před 8 roky
optdeadstore.pas e67670fa70 * changed of do_optdeadstoreelim must be passed by reference as noted by Alexey Torgashin před 2 roky
optdfa.pas 38c9a49ef4 * propagate life info properly před 2 roky
options.pas 0fbe56fe78 [AVR] Add command line options to selectively remove portions of the RTL startup code. před 1 rokem
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. před 4 roky
optloop.pas 7388735b11 * Strength reduction optimization: - Use a temp for complex loop start values to prevent double evaluation. před 4 roky
opttail.pas dd6e6eb26a * disable tail recursion optimisation if there is a copy-back parameter před 5 roky
optutils.pas 8270af8a01 * patch by Rika: Use Index* for pointer lists, resolves #40218 před 1 rokem
optvirt.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 před 5 roky
owar.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL před 5 roky
owbase.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL před 5 roky
owomflib.pas 5da684a82f Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit před 1 rokem
parabase.pas abfd975571 TCGParaLocation: remove alignment gap před 3 roky
paramgr.pas 6404478ea4 * cleanup of VER3_0 defines před 3 roky
parser.pas 7974f39522 * implement assignment of procedure and method variables and routines (global, instance and nested) to function references před 3 roky
pass_1.pas 5cf4b08182 * fix compilation with -dEXTDEBUG před 1 rokem
pass_2.pas fc7807a823 * New 'do not execute' flag for notes and respective internal error triggering před 1 rokem
pbase.pas f8fe7b2670 * Forbid use of string alias in system unit před 1 rokem
pcp.pas a4672fbd1c o based on a patch by Rika, resolves #39401: před 4 roky
pdecl.pas e9825e5db4 * Unicode resource strings před 1 rokem
pdecobj.pas 40af8bc29a * Generate hidden class to be used for TVirtualInterface (wasm only) před 1 rokem
pdecsub.pas a214d756bd * fix #40381: also check for hints when parsing the parameters of a routine (including open array parameters) or the result type of a function před 1 rokem
pdecvar.pas 7922dbe608 Fixing trying to consume ID for anonymous switch field před 1 rokem
pexports.pas 245ee90877 + print an error message, in case 'promising' exports are used on non-WebAssembly platform před 1 rokem
pexpr.pas e9825e5db4 * Unicode resource strings před 1 rokem
pgentype.pas 2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 před 3 roky
pgenutil.pas c98c10e94e * Allow hidden units to be found when replaying generic před 1 rokem
pinline.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 před 3 roky
pkgutil.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 před 5 roky
pmodules.pas c3298975c4 * Allow System.Variants (Delphi-compatible name) to be found when inserting variants unit před 1 rokem
pp.lpi 867786c953 * update version před 5 roky
pp.pas 1b9dfd371d Add loongarch64 architecture support to compiler před 1 rokem
pparautl.pas dcb515f702 * fix #40142 and #40324: don't alias the function name to the $result variable for anonymous functions unless an explicit result name is provided před 1 rokem
ppc68k.lpi 8192bf1b33 * version update před 4 roky
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers před 8 roky
ppcaarch64.lpi 130d7255f1 * project files updated před 1 rokem
ppcarm.lpi 130d7255f1 * project files updated před 1 rokem
ppcavr.lpi 130d7255f1 * project files updated před 1 rokem
ppcjvm.lpi 130d7255f1 * project files updated před 1 rokem
ppcmips.lpi 130d7255f1 * project files updated před 1 rokem
ppcmips64el.lpi 130d7255f1 * project files updated před 1 rokem
ppcmipsel.lpi 130d7255f1 * project files updated před 1 rokem
ppcppc.lpi 130d7255f1 * project files updated před 1 rokem
ppcppc64.lpi 130d7255f1 * project files updated před 1 rokem
ppcppc64le.lpi 130d7255f1 * project files updated před 1 rokem
ppcriscv32.lpi 130d7255f1 * project files updated před 1 rokem
ppcriscv64.lpi 130d7255f1 * project files updated před 1 rokem
ppcsparc.lpi 130d7255f1 * project files updated před 1 rokem
ppcsparc64.lpi 130d7255f1 * project files updated před 1 rokem
ppcwasm32.lpi 3742cc2fcf + always call resolve_labels_complex, if DEBUG_WASM_GOTO is defined. před 1 rokem
ppcx64.lpi e9825e5db4 * Unicode resource strings před 1 rokem
ppcx64llvm.lpi 130d7255f1 * project files updated před 1 rokem
ppcxtensa.lpi 130d7255f1 * project files updated před 1 rokem
ppcz80.lpi 130d7255f1 * project files updated před 1 rokem
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed před 9 roky
ppu.pas a3956b14cb * bump CurrentPPULongVersion před 1 rokem
procdefutil.pas 6df32864c9 * 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 před 1 rokem
procinfo.pas 9f3dcdb211 + add method to find a procinfo for a nested function by the corresponding procdef před 3 roky
psabiehpi.pas fe57cd3536 * fix LLVM after r48828 před 4 roky
pstatmnt.pas 55b1294620 * do not crash on illegal with statement, resolves #40118 před 1 rokem
psub.pas 4238265afc default values: store as staticvarsyms in staticsymtable před 1 rokem
psystem.pas 98d6f2ee71 * Define char as AnsiChar před 1 rokem
ptconst.pas 276f5bdef8 * ensure that nothing assembly related is generated for generics when a typed constant (this also includes local variable initializations) are parsed před 5 roky
ptype.pas ef7706ebfa * allow set type to be a generic parameter, resolves #40453 před 1 rokem
raatt.pas 1b9dfd371d Add loongarch64 architecture support to compiler před 1 rokem
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from před 19 roky
rasm.pas 46fe2d486c * forgotten comment před 7 roky
rautils.pas de04f0e37f * do not warn on lea e/rsp with negative address offset, part of #40113 před 1 rokem
rescmn.pas b88d12c7b9 + add option -FF to force the use of fpcres as RC compiler před 5 roky
rgbase.pas 4abc498f2f + added the Z80 individual flag bits as subregisters před 5 roky
rgobj.pas e489539b03 Rename fields of tspillregsinfo record to avoid having same field names as treginfo record před 1 rokem
scandir.pas 3b5fded2b3 * $NAMESPACES directive před 1 rokem
scanner.pas f8fe7b2670 * Forbid use of string alias in system unit před 1 rokem
switches.pas 6cbbf9c52a * $P/$OpenStrings is supposed to be a local switch, so change that accordingly před 3 roky
symbase.pas 8184287ec0 Fix for variables longer than 127 chars před 3 roky
symconst.pas 55dfd6278b * Additional fields/enums for invoke helper před 1 rokem
symcreat.pas ccc2f345cf Create invoke helper if requested and reference it in RTTI před 1 rokem
symdef.pas 90eb89da9e * Add is_systemunit_unicode function (cchartype suymbol) před 1 rokem
symsym.pas 706443c354 dbgllvm: support for record field debug information před 3 roky
symtable.pas a2e440bbdf * Check that system unit is actually loaded before using it to search for system symbols před 1 rokem
symtype.pas b541b22880 * some error messages use nicer symbol names před 1 rokem
symutil.pas 384a47af1c JVM: add typesym for anonymous record typed constants před 1 rokem
syscinfo.pas 568d4de77e * aros64: recent developments hanged the library call ABI, lets try to follow it (aros64 is experimental) před 3 roky
systems.inc 30eb4647b6 Add -Awin64-as option for aarch64 compiler for win64 target před 1 rokem
systems.pas 5a65ca51c0 + enable the reference types extension in llvm-mc via a command line option před 1 rokem
tgobj.pas 1b9dfd371d Add loongarch64 architecture support to compiler před 1 rokem
tokens.pas d55c7819cb + also allow declaring an external as 'suspending first' před 1 rokem
triplet.pas 1cb4a08418 Add aarch64-iphonesim target před 1 rokem
verbose.pas a44fe0a9a0 Add -vj option in options unit to set V_Parallel před 1 rokem
version.pas 1b9dfd371d Add loongarch64 architecture support to compiler před 1 rokem
versioncmp.pas 68253e2a73 Missing file from b26703feaa9 před 3 roky
wasmbase.pas efd92fba01 + introduced TWasmCustomDebugSectionType před 3 roky
widestr.pas cb44d7d4e2 * some cleanup před 5 roky
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 před 17 roky
wpobase.pas 0594f9ae59 WPO: fix dead code detection, and handle procvars před 1 rokem
wpoinfo.pas b1dff29cbf * removed unused units před 8 roky

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