florian c433deb0f2 * also initalize default helper variables of initialization sections, resolves #40183 2 gadi atpakaļ
..
aarch64 864259c95d * compilation after merge fixed 1 gadu atpakaļ
arm be401422fd * more warnings after last commit fixed 3 gadi atpakaļ
armgen 3e5f6d3228 * use AllocRegbetween in TARMAsmOptimizer.RemoveSuperfluousMove, resolves #39921 3 gadi atpakaļ
avr df21fb5e7d Only perform OpCp2Op optimization when the first Op is ANDI and comparison is against 0. 1 gadu atpakaļ
generic ff3acfb8cd * cleanup of 2.7.0 defines 4 gadi atpakaļ
html fa0d3d79e0 no message 23 gadi atpakaļ
i386 a9fc5df569 * second mul might get called with a zero operand if the other has a side effect, 1 gadu atpakaļ
i8086 7b95ae1dea + CPUX86_HAS_BSWAP 1 gadu atpakaļ
jvm a401898139 * spelling fixes 3 gadi atpakaļ
llvm db07d0b0f3 LLVM: cleaned up some comments 1 gadu atpakaļ
loongarch64 4aa1033c07 * patch by Jinyang He to fix building loongarch64 with -Oodfa/-O4 1 gadu atpakaļ
m68k 9ee063e78b m68k: do not generate LEA instructions with explicitly specified size. only long is possible anyway. 1 gadu atpakaļ
mips d18ff64ed7 Fix a_load64_reg_ref and a_load64_ref_reg mips methods 3 gadi atpakaļ
msg da9bdad3cb + exec_e_cant_call_linker shows now the error message 1 gadu atpakaļ
powerpc 762057f46d Fix compilation of 32-bit powerpc compiler 3 gadi atpakaļ
powerpc64 dbbf7e7f3b Add several increfs to avoid troubles on AIX target OS 3 gadi atpakaļ
ppcgen f3179cb718 Add system_powerpc_wii to supported_targets of powerpc generic GNU assembler 3 gadi atpakaļ
riscv f50415a0b9 riscv32-freertos: 1 gadu atpakaļ
riscv32 c4c943c004 * memory sizes updated 1 gadu atpakaļ
riscv64 19ad26afd8 * Riscv32 and Riscv64 on linux: enable safecall support 3 gadi atpakaļ
sparc 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 gadi atpakaļ
sparc64 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 gadi atpakaļ
sparcgen ad72542e9e Fix compilation of sparc compiler with -dDEBUG_ALL_OPT 3 gadi atpakaļ
systems 139a382bf1 * compilation fixed with -Oodfa 1 gadu atpakaļ
utils 6e35770ea7 LLVM: don't use type names in ctor/dtor arrays 1 gadu atpakaļ
wasm32 f32ef29253 * WebAssembly high level code generator: use the global.get and global.set 3 gadi atpakaļ
x86 9f8df68426 * x86: TEST/Jcc/TEST optimisations can now look beyond the next instruction under -O3 1 gadu atpakaļ
x86_64 e09c2061d1 * x86: Some refactoring to use aoc_ForceNewIteration instead of manually advancing p 1 gadu atpakaļ
xtensa 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 gadi atpakaļ
z80 088c746d45 * reset written source lines once a section is encountered 3 gadi atpakaļ
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 9 gadi atpakaļ
MPWMake 43c50d0a32 Remove unused, obsolete -dBROWSERLOG option 4 gadi atpakaļ
Makefile eaac62af9b Update Makefiles 1 gadu atpakaļ
Makefile.fpc 1b9dfd371d Add loongarch64 architecture support to compiler 1 gadu atpakaļ
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 gadi atpakaļ
aasmbase.pas f6c741ee73 * Corrected label reference counts caused by TAsmLabel.GetName incrementing refs 3 gadi atpakaļ
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives 6 gadi atpakaļ
aasmcnst.pas a8352f3e99 ttai_typedconstbuilder: do not remove tcalo_vectorized_dead_strip_item 3 gadi atpakaļ
aasmdata.pas 9d7d5f9fc1 Add dwarf cfa support 1 gadu atpakaļ
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 6 gadi atpakaļ
aasmsym.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 gadi atpakaļ
aasmtai.pas a135940cf5 Mark .noinit section with nobits flag. 3 gadi atpakaļ
aggas.pas 1b9dfd371d Add loongarch64 architecture support to compiler 1 gadu atpakaļ
aopt.pas 9ec85f940e * do not remove register deallocations/allocation pairs if the register is written 4 gadi atpakaļ
aoptbase.pas 1f8a9c708e * use RegistersInterfere instead of SuperRegistersEqual in TAoptBase.RegInOp and TAoptBase.RegInRef 5 gadi atpakaļ
aoptda.pas b1dff29cbf * removed unused units 8 gadi atpakaļ
aoptobj.pas 24a31c2b7d * New UpdateUsedRegsBetween utility subroutine 1 gadu atpakaļ
aoptutils.pas bae583118a * patch by J. Gareth Moreton: x86 JccMovJmpMov2MovSetcc improvement, resolves #38761 4 gadi atpakaļ
assemble.pas 8383b6e896 Avoid float_raise call in FPC_SOFT_FPUX80 code 1 gadu atpakaļ
blockutl.pas 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not 3 gadi atpakaļ
browcol.pas 168016b865 * patch by Rika: Use linear file list in FInput.TInputFileManager instead of linked, resolves #39880 3 gadi atpakaļ
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 gadi atpakaļ
ccharset.pas cb44d7d4e2 * some cleanup 5 gadi atpakaļ
cclasses.pas 986a6feb95 Allocate THashSet item and its key together when FOwnKeys=true. 3 gadi atpakaļ
cepiktimer.pas 99d88b91a9 * do not include fpcdefs in the cepiktimer unit 4 gadi atpakaļ
cfidwarf.pas 1b9dfd371d Add loongarch64 architecture support to compiler 1 gadu atpakaļ
cfileutl.pas b934517871 * patch by Rika: Optimize some compiler/CFileUtl.pas functions for returning unchanged strings, resolves #39882 3 gadi atpakaļ
cg64f32.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned 3 gadi atpakaļ
cgbase.pas 1b9dfd371d Add loongarch64 architecture support to compiler 1 gadu atpakaļ
cgexcept.pas fe57cd3536 * fix LLVM after r48828 4 gadi atpakaļ
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 gadi atpakaļ
cgobj.pas ef98e72d60 * Fixed bug in register preservation tracking 1 gadu atpakaļ
cgutils.pas 131c1e1b93 * Converted assertion into an internal error 3 gadi atpakaļ
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled 8 gadi atpakaļ
comphook.pas 4b157a1498 + print full file path if -vb is passed even if no line number is known, resolves #39419 4 gadi atpakaļ
compiler.pas 88959bdda7 * m68k-sinclairql: fix the inclusion of the target proper 3 gadi atpakaļ
compinnr.pas 54299874d3 + implemented memory.grow and memory.size intrinsics and implemented SysOSAlloc 4 gadi atpakaļ
comprsrc.pas 971d7baa8a * patch by Cyrax: Quote path - which is passed to Windres or alike program, resolves #36526 3 gadi atpakaļ
comptty.pas 682e29c4ff + enable colored output on darwin, resolves #38693 4 gadi atpakaļ
constexp.pas a6d6f93887 * revert accidently committed code 3 gadi atpakaļ
cprofile.pas 6612bb4434 * proper naming 5 gadi atpakaļ
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 12 gadi atpakaļ
cresstr.pas 27a1acdc7d cresstr: fix length specified for resource strings to typed const builder 3 gadi atpakaļ
cscript.pas f5e5f9645c Add fForceUseForwardSlash to TLinkRes class, used for vlink linker on hosts using backslashes 4 gadi atpakaļ
cstreams.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 4 gadi atpakaļ
cutils.pas b934517871 * patch by Rika: Optimize some compiler/CFileUtl.pas functions for returning unchanged strings, resolves #39882 3 gadi atpakaļ
dbgbase.pas d294731542 LLVM: enable DWARF debug info generation 3 gadi atpakaļ
dbgcodeview.pas 04727844b5 * Fixed value of the LF_PAD13 enum element. 4 gadi atpakaļ
dbgdwarf.pas d6428cb57a * don't not generate non-constant leb128 entriesm for riscv32-freertos 1 gadu atpakaļ
dbgdwarfconst.pas 4da1ad71a4 * moved a bunch of constants from dbgdwarf to dbgdwarfconst 3 gadi atpakaļ
dbgstabs.pas a401898139 * spelling fixes 3 gadi atpakaļ
dbgstabx.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the 5 gadi atpakaļ
defcmp.pas 12c8d24ec3 * New is_cyclic function to detect if def references itself - fixes #40010 2 gadi atpakaļ
defutil.pas f351e5c1a4 + add utility function to retrieve the char type def from a stringlike def 1 gadu atpakaļ
dirparse.pas 93be88b270 * reverted r47862 4 gadi atpakaļ
dwarfbase.pas 1fc54dd8bb * improve dwarf cfi on avr 3 gadi atpakaļ
elfbase.pas 245b58c249 + support for arm attributes 6 gadi atpakaļ
entfile.pas 1b9dfd371d Add loongarch64 architecture support to compiler 1 gadu atpakaļ
export.pas b1dff29cbf * removed unused units 8 gadi atpakaļ
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa 6 gadi atpakaļ
finput.pas 168016b865 * patch by Rika: Use linear file list in FInput.TInputFileManager instead of linked, resolves #39880 3 gadi atpakaļ
fmodule.pas 2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 3 gadi atpakaļ
fpcdefs.inc 1b9dfd371d Add loongarch64 architecture support to compiler 1 gadu atpakaļ
fpchash.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 4 gadi atpakaļ
fpcp.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 5 gadi atpakaļ
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 gadi atpakaļ
fppu.pas 7b09eee02a * mark units compiled with cs_compilesystem with a corresponding flag 3 gadi atpakaļ
gendef.pas 3af74d2fd2 + implement initial compiler support for Win64 on Aarch64 5 gadi atpakaļ
globals.pas 1b9dfd371d Add loongarch64 architecture support to compiler 1 gadu atpakaļ
globstat.pas 04bbfd1746 * fix for Mantis #27378: save and (more importantly) restore verbosity when switching a unit 6 gadi atpakaļ
globtype.pas 6cbbf9c52a * $P/$OpenStrings is supposed to be a local switch, so change that accordingly 3 gadi atpakaļ
hlcg2ll.pas 67d80d414b * do not copy parameters onto the stack using FPU registers if the type is 3 gadi atpakaļ
hlcgobj.pas 9b258c78be thlcgobj.g_undefined_ok: new method 1 gadu atpakaļ
htypechk.pas d221f42a57 * ensure that the correct overload is picked for function reference parameters 3 gadi atpakaļ
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 gadi atpakaļ
import.pas b1dff29cbf * removed unused units 8 gadi atpakaļ
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 gadi atpakaļ
link.pas d1a9e02d86 * fix (hopefully) build without an ld.bfd variant 1 gadu atpakaļ
macho.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 gadi atpakaļ
machoutils.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 gadi atpakaļ
msg2inc da9bdad3cb + exec_e_cant_call_linker shows now the error message 1 gadu atpakaļ
msgidx.inc da9bdad3cb + exec_e_cant_call_linker shows now the error message 1 gadu atpakaļ
msgtxt.inc da9bdad3cb + exec_e_cant_call_linker shows now the error message 1 gadu atpakaļ
nadd.pas a030e99318 * PopCount takes care only of the bit pattern, so take the uvalue to avoid an internal error, resolves #40190 1 gadu atpakaļ
nbas.pas 7a7dc58c0d * Adjustment to TBLockNode.pass_1 to actually strip nothing nodes 1 gadu atpakaļ
ncal.pas 8c50d989e5 WPO: also consider NewInstance to detect class instancing 1 gadu atpakaļ
ncgadd.pas bbece3e668 * MIPS64 can 3 gadi atpakaļ
ncgbas.pas c78e9557f8 * Added support for the old Turbo Pascal INLINE(data/data/...) statement. 4 gadi atpakaļ
ncgcal.pas dce70b3b70 Short version of the mips code genration bug 3 gadi atpakaļ
ncgcnv.pas 1b9dfd371d Add loongarch64 architecture support to compiler 1 gadu atpakaļ
ncgcon.pas a285500d36 * patch by Rike: Use reverse_longword instead of manually reversing longword, resolves #39720 3 gadi atpakaļ
ncgflw.pas b78761efd3 * Removed obsolete OLDREGVARS ifdefs. 4 gadi atpakaļ
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 gadi atpakaļ
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 gadi atpakaļ
ncgld.pas f562a8d9fd * hopefully final fix after 9848349610219cd0d2dadc67b112fb09a8317e91 3 gadi atpakaļ
ncgmat.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned 3 gadi atpakaļ
ncgmem.pas a5f6505edc * fix range checking for zero based strings, resolves #39323 4 gadi atpakaļ
ncgnstfl.pas d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms 6 gadi atpakaļ
ncgnstld.pas cf9596421b * fixed crashes on platforms using parentfpstructs with generic routines 6 gadi atpakaļ
ncgnstmm.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. 5 gadi atpakaļ
ncgobjc.pas b1dff29cbf * removed unused units 8 gadi atpakaļ
ncgopt.pas b1dff29cbf * removed unused units 8 gadi atpakaļ
ncgrtti.pas 49fb1b4c29 RTTI: don't generate full RTTI for internal types 3 gadi atpakaļ
ncgset.pas 18ede7caae tcginnode.pass_generate_code: use tlhcgobj.g_undefined_ok 1 gadu atpakaļ
ncgutil.pas a76038e1d1 hlcgobj: new getlocal and recordnewsymloc methods 3 gadi atpakaļ
ncgvmt.pas 30a7199165 * make the VMT symbol and type def of the corresponding class or object instead of having them be global 3 gadi atpakaļ
ncnv.pas 1de727d958 Allow WideChar const to UTF8String const conversion 1 gadu atpakaļ
ncon.pas 6dc47c71fb tstringconstnode.changestringtype: fix buffer overrun 3 gadi atpakaļ
nflw.pas 5670a7543c * properly reset nf_write/nf_modify flags for min/max inline nodes, needed by dead store optimization, resolves #39958 3 gadi atpakaļ
ngenutil.pas 5135b586cb * fix #39857: don't trash symbols marked as vo_is_internal 3 gadi atpakaļ
ngtcon.pas 6d2120f91e * do not throw an internal error on typed constants with wrong element count, resolves #40066 2 gadi atpakaļ
ninl.pas 5670a7543c * properly reset nf_write/nf_modify flags for min/max inline nodes, needed by dead store optimization, resolves #39958 3 gadi atpakaļ
nld.pas 3c2703787c * ensure that newly created tloadparentfpnodes have a valid resultdef as they might be created in situation where the loadnode itself is no longer typechecked 3 gadi atpakaļ
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 gadi atpakaļ
nmem.pas c26f9329b6 Support arrays and classes in compile-time OffsetOf. 3 gadi atpakaļ
nobj.pas 30a7199165 * make the VMT symbol and type def of the corresponding class or object instead of having them be global 3 gadi atpakaļ
nobjc.pas 68eb921d46 * broken compilation after r39347 fixed 7 gadi atpakaļ
node.pas 83bbb10df3 * New node pruning methods 1 gadu atpakaļ
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 3 gadi atpakaļ
nset.pas 3094f75690 * WebAssembly code generation for 'case' nodes changed to use labels 4 gadi atpakaļ
nutils.pas 3db1415a44 * generate correct dfa for subroutines declared as safecall 3 gadi atpakaļ
objcasm.pas 6404478ea4 * cleanup of VER3_0 defines 3 gadi atpakaļ
objcdef.pas 5d02c65425 objcdef: remove duplicate variant start check 3 gadi atpakaļ
objcgutl.pas 136022a7b2 objc: stop generating coalesced sections 3 gadi atpakaļ
objcutil.pas df3a0af7e0 objc: use compile-time macOS version checks 3 gadi atpakaļ
ogbase.pas e26b298885 * patch by Rika: Better Align()'s #2, resolves #39512 3 gadi atpakaļ
ogcoff.pas 77e3a402da Set string length before calling move to avoid problems with global data analysis on systems using C library 4 gadi atpakaļ
ogelf.pas 17e3c31b7e Fix gotpcrel relocation for TESTQ x86_64 instruction 4 gadi atpakaļ
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 gadi atpakaļ
ogmacho.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 gadi atpakaļ
ogmap.pas a5ab1c03ea * avoid 8-bit truncation of the sizes in the internal linker map 5 gadi atpakaļ
ognlm.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 gadi atpakaļ
ogomf.pas c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 3 gadi atpakaļ
ogrel.pas cf5feb0dca + support writing of 32-bit and 64-bit relocations in the REL object writer 3 gadi atpakaļ
ogwasm.pas dd13b46088 * use WasmCustomSectionName to obtain the debug section names in MaybeWriteDebugSection and MaybeAddDebugSectionToSymbolTable 3 gadi atpakaļ
omfbase.pas c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 3 gadi atpakaļ
optbase.pas b5659df425 + CalcUseSum: calculates a sum of all use sets of the current node and its children 5 gadi atpakaļ
optconstprop.pas 444fe092da * propertly check equality with the for-counter when propagating constants, resolves #39915 3 gadi atpakaļ
optcse.pas 5921fa9a62 + store references to global variables in registers if benefical (currrently used for aarch64 only) 3 gadi atpakaļ
optdead.pas b1dff29cbf * removed unused units 8 gadi atpakaļ
optdeadstore.pas e67670fa70 * changed of do_optdeadstoreelim must be passed by reference as noted by Alexey Torgashin 3 gadi atpakaļ
optdfa.pas 38c9a49ef4 * propagate life info properly 2 gadi atpakaļ
options.pas 7175dd4595 * set FPU type properly for riscv32-freertos 1 gadu atpakaļ
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 gadi atpakaļ
optloop.pas 7388735b11 * Strength reduction optimization: - Use a temp for complex loop start values to prevent double evaluation. 4 gadi atpakaļ
opttail.pas dd6e6eb26a * disable tail recursion optimisation if there is a copy-back parameter 5 gadi atpakaļ
optutils.pas 92771760b7 Get rid of some global variables. 3 gadi atpakaļ
optvirt.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 5 gadi atpakaļ
owar.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL 5 gadi atpakaļ
owbase.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL 5 gadi atpakaļ
owomflib.pas c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 3 gadi atpakaļ
parabase.pas abfd975571 TCGParaLocation: remove alignment gap 3 gadi atpakaļ
paramgr.pas 6404478ea4 * cleanup of VER3_0 defines 3 gadi atpakaļ
parser.pas 7974f39522 * implement assignment of procedure and method variables and routines (global, instance and nested) to function references 3 gadi atpakaļ
pass_1.pas 5cf4b08182 * fix compilation with -dEXTDEBUG 1 gadu atpakaļ
pass_2.pas fc7807a823 * New 'do not execute' flag for notes and respective internal error triggering 1 gadu atpakaļ
pbase.pas 7974f39522 * implement assignment of procedure and method variables and routines (global, instance and nested) to function references 3 gadi atpakaļ
pcp.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 4 gadi atpakaļ
pdecl.pas 384a47af1c JVM: add typesym for anonymous record typed constants 1 gadu atpakaļ
pdecobj.pas a401898139 * spelling fixes 3 gadi atpakaļ
pdecsub.pas 0f00b4c019 * fix #40060: ensure that Self is not added for anonymous functions that are part of a static class method 2 gadi atpakaļ
pdecvar.pas 384a47af1c JVM: add typesym for anonymous record typed constants 1 gadu atpakaļ
pexports.pas d854d18bd9 * instead of blindly consuming whatever comes next trigger an explicit error if the parsed expression does not match for "INDEX ordexpr" or "NAME strexpr" 4 gadi atpakaļ
pexpr.pas 22d2e0d3ae + support procvar[] in tp/mac procvar mode if the procvar returns an array type 1 gadu atpakaļ
pgentype.pas 2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 3 gadi atpakaļ
pgenutil.pas f9a7c57042 * use new chartype_for_stringlike function to retrieve the char type for a stringlike def instead of casting to a stringdef 1 gadu atpakaļ
pinline.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 4 gadi atpakaļ
pkgutil.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 5 gadi atpakaļ
pmodules.pas 403292a131 LLVM backend: address sanitizer support 3 gadi atpakaļ
pp.lpi 867786c953 * update version 5 gadi atpakaļ
pp.pas 1b9dfd371d Add loongarch64 architecture support to compiler 1 gadu atpakaļ
pparautl.pas f1655b71f8 * fix #40062: ensure that Self is only added to anonymous functions when dealing with method pointers 2 gadi atpakaļ
ppc68k.lpi 8192bf1b33 * version update 4 gadi atpakaļ
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 gadi atpakaļ
ppcaarch64.lpi 130d7255f1 * project files updated 1 gadu atpakaļ
ppcarm.lpi 130d7255f1 * project files updated 1 gadu atpakaļ
ppcavr.lpi 130d7255f1 * project files updated 1 gadu atpakaļ
ppcjvm.lpi 130d7255f1 * project files updated 1 gadu atpakaļ
ppcmips.lpi 130d7255f1 * project files updated 1 gadu atpakaļ
ppcmips64el.lpi 130d7255f1 * project files updated 1 gadu atpakaļ
ppcmipsel.lpi 130d7255f1 * project files updated 1 gadu atpakaļ
ppcppc.lpi 130d7255f1 * project files updated 1 gadu atpakaļ
ppcppc64.lpi 130d7255f1 * project files updated 1 gadu atpakaļ
ppcppc64le.lpi 130d7255f1 * project files updated 1 gadu atpakaļ
ppcriscv32.lpi 130d7255f1 * project files updated 1 gadu atpakaļ
ppcriscv64.lpi 130d7255f1 * project files updated 1 gadu atpakaļ
ppcsparc.lpi 130d7255f1 * project files updated 1 gadu atpakaļ
ppcsparc64.lpi 130d7255f1 * project files updated 1 gadu atpakaļ
ppcwasm32.lpi 99074a5578 * .lpi version update 3 gadi atpakaļ
ppcx64.lpi 130d7255f1 * project files updated 1 gadu atpakaļ
ppcx64llvm.lpi 130d7255f1 * project files updated 1 gadu atpakaļ
ppcxtensa.lpi 130d7255f1 * project files updated 1 gadu atpakaļ
ppcz80.lpi 130d7255f1 * project files updated 1 gadu atpakaļ
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed 9 gadi atpakaļ
ppu.pas fc7807a823 * New 'do not execute' flag for notes and respective internal error triggering 1 gadu atpakaļ
procdefutil.pas 442774e997 * ensure that all hidden parameter symbols are removed when adding an anonymous function to a capturer (they'll be added again later on) 2 gadi atpakaļ
procinfo.pas 9f3dcdb211 + add method to find a procinfo for a nested function by the corresponding procdef 3 gadi atpakaļ
psabiehpi.pas fe57cd3536 * fix LLVM after r48828 4 gadi atpakaļ
pstatmnt.pas 55b1294620 * do not crash on illegal with statement, resolves #40118 1 gadu atpakaļ
psub.pas c433deb0f2 * also initalize default helper variables of initialization sections, resolves #40183 1 gadu atpakaļ
psystem.pas 1b9dfd371d Add loongarch64 architecture support to compiler 1 gadu atpakaļ
ptconst.pas 276f5bdef8 * ensure that nothing assembly related is generated for generics when a typed constant (this also includes local variable initializations) are parsed 6 gadi atpakaļ
ptype.pas 481d8d1513 * ensure that a procvar (especially a "REFERENCE TO") begins either with FUNCTION or PROCEDURE 1 gadu atpakaļ
raatt.pas 1b9dfd371d Add loongarch64 architecture support to compiler 1 gadu atpakaļ
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 gadi atpakaļ
rasm.pas 46fe2d486c * forgotten comment 7 gadi atpakaļ
rautils.pas de04f0e37f * do not warn on lea e/rsp with negative address offset, part of #40113 1 gadu atpakaļ
rescmn.pas b88d12c7b9 + add option -FF to force the use of fpcres as RC compiler 5 gadi atpakaļ
rgbase.pas 4abc498f2f + added the Z80 individual flag bits as subregisters 5 gadi atpakaļ
rgobj.pas 29fc94d2a6 Aslo check that live_end is assigned before refering to it 1 gadu atpakaļ
scandir.pas ec6e66629c + introduce long forms for $E, $F and $S, resolves #39889 1 gadu atpakaļ
scanner.pas 67fe5ffe93 * also count the use of enum syms in preprocessor expressions correctly 1 gadu atpakaļ
switches.pas 6cbbf9c52a * $P/$OpenStrings is supposed to be a local switch, so change that accordingly 3 gadi atpakaļ
symbase.pas 8184287ec0 Fix for variables longer than 127 chars 3 gadi atpakaļ
symconst.pas 6e35770ea7 LLVM: don't use type names in ctor/dtor arrays 1 gadu atpakaļ
symcreat.pas 5b02753602 symcreat: add hidden high parameters in create_procdef_alias 2 gadi atpakaļ
symdef.pas b75b2745ad * also skip high parameters when pc_normal_no_hidden is given to tprocdef.getcopyas 2 gadi atpakaļ
symsym.pas 706443c354 dbgllvm: support for record field debug information 3 gadi atpakaļ
symtable.pas e557616279 add has_double_field 1 gadu atpakaļ
symtype.pas 0eee70ac81 * fix FindUnitSymtable for exception symtables, resolves #24801 and #39974 3 gadi atpakaļ
symutil.pas 384a47af1c JVM: add typesym for anonymous record typed constants 1 gadu atpakaļ
syscinfo.pas 568d4de77e * aros64: recent developments hanged the library call ABI, lets try to follow it (aros64 is experimental) 3 gadi atpakaļ
systems.inc 6b012b1194 + completed identifiers for RiscV ABIs 1 gadu atpakaļ
systems.pas 7c7216d756 * fix systems_freertos 1 gadu atpakaļ
tgobj.pas 1b9dfd371d Add loongarch64 architecture support to compiler 1 gadu atpakaļ
tokens.pas c78e9557f8 * Added support for the old Turbo Pascal INLINE(data/data/...) statement. 4 gadi atpakaļ
triplet.pas b26703feaa Darwin version comparisons: factored out into object 3 gadi atpakaļ
verbose.pas 598da1936e * change ChangeMessageVerbosity from String to AnsiString as long parameters might be passed to it 3 gadi atpakaļ
version.pas 1b9dfd371d Add loongarch64 architecture support to compiler 1 gadu atpakaļ
versioncmp.pas 68253e2a73 Missing file from b26703feaa9 3 gadi atpakaļ
wasmbase.pas efd92fba01 + introduced TWasmCustomDebugSectionType 3 gadi atpakaļ
widestr.pas cb44d7d4e2 * some cleanup 5 gadi atpakaļ
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 17 gadi atpakaļ
wpobase.pas 5df9b994d1 * fix warnings which were caused by last changes to for node generation 9 gadi atpakaļ
wpoinfo.pas b1dff29cbf * removed unused units 8 gadi atpakaļ

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