florian 07cd469ade Merge branch 'main' into val_range_check vor 3 Jahren
..
aarch64 86c097086a Additional copyright header vor 3 Jahren
arm 2a93e65511 * seperator => separator vor 3 Jahren
armgen a47f153dae * avoid to create a stack frame on aarch64 if possible vor 3 Jahren
avr ff3acfb8cd * cleanup of 2.7.0 defines vor 4 Jahren
generic ff3acfb8cd * cleanup of 2.7.0 defines vor 4 Jahren
html fa0d3d79e0 no message vor 23 Jahren
i386 6404478ea4 * cleanup of VER3_0 defines vor 3 Jahren
i8086 6404478ea4 * cleanup of VER3_0 defines vor 3 Jahren
jvm abee4d46b6 Ignore NR_DEFAULTFLAGS for ait_regalloc, because there is no default flags for JVM vor 3 Jahren
llvm 04ebdf8df8 Fix compilation for x86_64 llvm variant vor 4 Jahren
m68k 06da0b3db6 * fix m68k IE after e9acd759, patch by Yuriy Sydorov vor 3 Jahren
mips 03f4685455 + sanity checks in mips and sparc register allocator vor 3 Jahren
msg 6dd0a1c078 * year of copyright updated to 2022 vor 3 Jahren
powerpc 6404478ea4 * cleanup of VER3_0 defines vor 3 Jahren
powerpc64 6404478ea4 * cleanup of VER3_0 defines vor 3 Jahren
ppcgen 2de72c8541 Linux/PPC64: fix missing TOC loads vor 3 Jahren
riscv c2c7982a22 Fix check that third parameter of ADDI hp1 instruction is a constant vor 4 Jahren
riscv32 ff3acfb8cd * cleanup of 2.7.0 defines vor 4 Jahren
riscv64 ff3acfb8cd * cleanup of 2.7.0 defines vor 4 Jahren
sparc ff3acfb8cd * cleanup of 2.7.0 defines vor 4 Jahren
sparc64 ff3acfb8cd * cleanup of 2.7.0 defines vor 4 Jahren
sparcgen 03f4685455 + sanity checks in mips and sparc register allocator vor 3 Jahren
systems 4640120dbd esp32.rom.api.ld was only introduced in esp-idf v4.3. Remove invalid linker search path. vor 3 Jahren
utils 53e5a4a03a Adding aaarch64-embedded target vor 3 Jahren
wasm32 6404478ea4 * cleanup of VER3_0 defines vor 3 Jahren
x86 c062061d6d + MovapXComisX2ComisX2 optimization vor 3 Jahren
x86_64 72661fd5c1 Added missing MOVSXD check to PostPeepHoleOptsCpu vor 3 Jahren
xtensa 46507f9565 * Xtensa: optimize constant multiplications vor 4 Jahren
z80 ff3acfb8cd * cleanup of 2.7.0 defines vor 4 Jahren
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) vor 9 Jahren
MPWMake 43c50d0a32 Remove unused, obsolete -dBROWSERLOG option vor 4 Jahren
Makefile 53e5a4a03a Adding aaarch64-embedded target vor 3 Jahren
Makefile.fpc 67b08734cf * to avoid that -Xg causes a failure during comparing ppc3.exe and ppc386.exe on windows, during the last compiler compilation step, the vor 4 Jahren
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files vor 16 Jahren
aasmbase.pas 01dc62b127 + introduced the use of asm labels for WebAssembly. Resolve them in vor 4 Jahren
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives vor 6 Jahren
aasmcnst.pas ee10850a57 * patch by Sergey Larin: Reducing and aligning the size of TAnsiRec, TUnicodeRec for CPU64, resolves #38018: vor 4 Jahren
aasmdata.pas aefc1be555 * Reverted accidentally committed files. vor 5 Jahren
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 vor 5 Jahren
aasmsym.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would vor 6 Jahren
aasmtai.pas 7e73e0dd23 + support reading of .p2align with op code and/or max. bytes in the gas assembler reader vor 4 Jahren
aggas.pas c3e94051a1 Use '.rodata' for read-only data section for aarch64 CPU vor 3 Jahren
aopt.pas 9ec85f940e * do not remove register deallocations/allocation pairs if the register is written vor 4 Jahren
aoptbase.pas 1f8a9c708e * use RegistersInterfere instead of SuperRegistersEqual in TAoptBase.RegInOp and TAoptBase.RegInRef vor 5 Jahren
aoptda.pas b1dff29cbf * removed unused units vor 8 Jahren
aoptobj.pas 50a37d00e7 Debugging code in AllocRegBetween is now safer and more accurate, and p2 can no longer be nil vor 3 Jahren
aoptutils.pas bae583118a * patch by J. Gareth Moreton: x86 JccMovJmpMov2MovSetcc improvement, resolves #38761 vor 4 Jahren
assemble.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 vor 3 Jahren
blockutl.pas a051b8d225 - remmoved doregister parameter from t*sym constructors, as the registration vor 6 Jahren
browcol.pas 1a9e246c29 * added is_normal_fieldvarsym() helper and use it vor 5 Jahren
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because vor 16 Jahren
ccharset.pas cb44d7d4e2 * some cleanup vor 5 Jahren
cclasses.pas 89f9ebc7b7 * throw an error if raise is called in a noreturn subroutine outside of any exception frame, resolves #39514 vor 3 Jahren
cepiktimer.pas 99d88b91a9 * do not include fpcdefs in the cepiktimer unit vor 4 Jahren
cfidwarf.pas ca399f3c71 * don't generate high-level CFI statements when the selected assembler vor 4 Jahren
cfileutl.pas e7d1a77f9a * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS vor 5 Jahren
cg64f32.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned vor 3 Jahren
cgbase.pas 8006900e8e - clean up vor 4 Jahren
cgexcept.pas fe57cd3536 * fix LLVM after r48828 vor 4 Jahren
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 vor 10 Jahren
cgobj.pas 67a1d52806 JccAdd2SetccAdd modified to make use of GetIntRegisterBetween vor 3 Jahren
cgutils.pas 66b7ed45fd * Removed unused tlocation.registers[]. vor 3 Jahren
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled vor 8 Jahren
comphook.pas 4b157a1498 + print full file path if -vb is passed even if no line number is known, resolves #39419 vor 4 Jahren
compiler.pas ff3acfb8cd * cleanup of 2.7.0 defines vor 4 Jahren
compinnr.pas 54299874d3 + implemented memory.grow and memory.size intrinsics and implemented SysOSAlloc vor 4 Jahren
comprsrc.pas f3541984ee * make sure that the resource compiler related globals are reset vor 5 Jahren
comptty.pas 682e29c4ff + enable colored output on darwin, resolves #38693 vor 4 Jahren
constexp.pas 0188a558d1 - obsolete defines removed vor 4 Jahren
cprofile.pas 6612bb4434 * proper naming vor 5 Jahren
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables vor 12 Jahren
cresstr.pas ff3acfb8cd * cleanup of 2.7.0 defines vor 4 Jahren
cscript.pas f5e5f9645c Add fForceUseForwardSlash to TLinkRes class, used for vlink linker on hosts using backslashes vor 4 Jahren
cstreams.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 vor 3 Jahren
cutils.pas abc4a0a4e6 * patch by Rika: another improvement of cutils.newalignment, part of #39496 vor 3 Jahren
dbgbase.pas 2808873d1b * Reworked the optimization of unused $parentfp for nested routines. vor 5 Jahren
dbgcodeview.pas 04727844b5 * Fixed value of the LF_PAD13 enum element. vor 4 Jahren
dbgdwarf.pas ca9384fd6c * patch by Dean Mustakino to avoid generation of debug info for generics, resolves #38827 vor 4 Jahren
dbgstabs.pas acf2567bda Second trial to fix commit 48688 vor 4 Jahren
dbgstabx.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the vor 5 Jahren
defcmp.pas aec18c2426 * weight currency->float conversions the same regardless if vor 4 Jahren
defutil.pas b91fc3a0d3 * fixed passing of singleton record parameters, containing a float in WebAssembly vor 4 Jahren
dirparse.pas 93be88b270 * reverted r47862 vor 4 Jahren
dwarfbase.pas 6817cea33b + missing unit vor 6 Jahren
elfbase.pas 245b58c249 + support for arm attributes vor 6 Jahren
entfile.pas f8052134e3 * synchronized with trunk vor 4 Jahren
export.pas b1dff29cbf * removed unused units vor 8 Jahren
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa vor 6 Jahren
finput.pas 243c967967 Commit of new debug feature implemented by J. Gareth Moreton vor 6 Jahren
fmodule.pas 6c6cb13a5e * Fix for issue #39379 by bart broersma vor 4 Jahren
fpcdefs.inc 6404478ea4 * cleanup of VER3_0 defines vor 3 Jahren
fpchash.pas a4672fbd1c o based on a patch by Rika, resolves #39401: vor 4 Jahren
fpcp.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 vor 5 Jahren
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: vor 9 Jahren
fppu.pas 344da9597f + added the current WebAssembly exceptions mode to the .ppu module flags and vor 4 Jahren
gendef.pas 3af74d2fd2 + implement initial compiler support for Win64 on Aarch64 vor 5 Jahren
globals.pas 2a93e65511 * seperator => separator vor 3 Jahren
globstat.pas 04bbfd1746 * fix for Mantis #27378: save and (more importantly) restore verbosity when switching a unit vor 6 Jahren
globtype.pas 2a93e65511 * seperator => separator vor 3 Jahren
hlcg2ll.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 vor 5 Jahren
hlcgobj.pas 2a93e65511 * seperator => separator vor 3 Jahren
htypechk.pas a7de0b365b Avoid invalid typecast error when using -CR option vor 4 Jahren
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. vor 11 Jahren
import.pas b1dff29cbf * removed unused units vor 8 Jahren
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). vor 13 Jahren
link.pas 59fca3a01d * Increased the bounds of TBooleanArray to prevent a range check error while linking Lazarus. vor 3 Jahren
macho.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler vor 6 Jahren
machoutils.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler vor 6 Jahren
msgidx.inc 89f9ebc7b7 * throw an error if raise is called in a noreturn subroutine outside of any exception frame, resolves #39514 vor 3 Jahren
msgtxt.inc 6dd0a1c078 * year of copyright updated to 2022 vor 3 Jahren
nadd.pas e132ae2fee * last commit was not correct, fixed vor 3 Jahren
nbas.pas 3e98429418 Revert " * patch by J. Gareth Moreton: Nothing (NOP) node optimisation, resolves #38194" vor 4 Jahren
ncal.pas f56aa9abe7 * set expectloc properly for x87 on x86 vor 4 Jahren
ncgadd.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 vor 5 Jahren
ncgbas.pas c78e9557f8 * Added support for the old Turbo Pascal INLINE(data/data/...) statement. vor 4 Jahren
ncgcal.pas 074ce9c50f + added call to g_maybe_checkforexceptions after generating call to fpc_iocheck vor 4 Jahren
ncgcnv.pas 940ac567a5 * Patch by J. Gareth "Kit" Moreton (issue #39343). Added missing allocation vor 4 Jahren
ncgcon.pas 6d75992674 * fix proposed by Christo Crause: properly handle pointer constant nodes on avr, resolves #38321 vor 4 Jahren
ncgflw.pas b78761efd3 * Removed obsolete OLDREGVARS ifdefs. vor 3 Jahren
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false vor 10 Jahren
ncginl.pas d5a104f493 Fixed Internal Error 2020120501 number clash vor 3 Jahren
ncgld.pas 0a383d8c0f * fixed WebAssembly method pointer assignment vor 4 Jahren
ncgmat.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned vor 3 Jahren
ncgmem.pas a5f6505edc * fix range checking for zero based strings, resolves #39323 vor 4 Jahren
ncgnstfl.pas d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms vor 6 Jahren
ncgnstld.pas cf9596421b * fixed crashes on platforms using parentfpstructs with generic routines vor 6 Jahren
ncgnstmm.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. vor 5 Jahren
ncgobjc.pas b1dff29cbf * removed unused units vor 8 Jahren
ncgopt.pas b1dff29cbf * removed unused units vor 8 Jahren
ncgrtti.pas 1e37eef3d2 * use an anonymous symbol for the record operator table as its typing is different for each incarnation anyway vor 3 Jahren
ncgset.pas c06a3f2ca3 Avoid range check error inside tcgcasenode.pass_generate_code method vor 3 Jahren
ncgutil.pas 5ca2356638 * take care of po_noreturn in more cases vor 4 Jahren
ncgvmt.pas 9314bbbf08 * compilation hopefully fixed vor 3 Jahren
ncnv.pas 29a5d3267c * moved warning about suspicious comp assignment to type check pass, catches also vor 4 Jahren
ncon.pas 07dcd22b1c * sizeof(array) and length(array) must return sizeUint in case the array vor 4 Jahren
nflw.pas e443936e12 + in_min/max_dword/longint support for aarch64 vor 3 Jahren
ngenutil.pas 2a93e65511 * seperator => separator vor 3 Jahren
ngtcon.pas ab01b0ebd7 Typed constants: no internalerror on failure vor 4 Jahren
ninl.pas 8e4e229a5f + DestSize parameter for fpc_Val_UInt functions vor 3 Jahren
nld.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. vor 4 Jahren
nmat.pas 5abfe21f39 + apply unary minus optimizations also to / vor 4 Jahren
nmem.pas 8b24d60df7 * removed accidently committed printnode vor 4 Jahren
nobj.pas 4ba19f5418 * add support for creating non-address-only procvars to vor 5 Jahren
nobjc.pas 68eb921d46 * broken compilation after r39347 fixed vor 7 Jahren
node.pas d96600a02d * Removed unused and confusing tnode.parent and tnode.concattolist(). vor 3 Jahren
nopt.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would vor 6 Jahren
nset.pas 3094f75690 * WebAssembly code generation for 'case' nodes changed to use labels vor 4 Jahren
nutils.pas e0a1bc6675 + optimize (a and b) or (c and not(b)) into c xor ((c xor a) and b) vor 4 Jahren
objcasm.pas 6404478ea4 * cleanup of VER3_0 defines vor 3 Jahren
objcdef.pas b1dff29cbf * removed unused units vor 8 Jahren
objcgutl.pas e7d1a77f9a * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS vor 5 Jahren
objcutil.pas b1dff29cbf * removed unused units vor 8 Jahren
ogbase.pas e26b298885 * patch by Rika: Better Align()'s #2, resolves #39512 vor 3 Jahren
ogcoff.pas 77e3a402da Set string length before calling move to avoid problems with global data analysis on systems using C library vor 4 Jahren
ogelf.pas 17e3c31b7e Fix gotpcrel relocation for TESTQ x86_64 instruction vor 4 Jahren
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using vor 10 Jahren
ogmacho.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the vor 5 Jahren
ogmap.pas a5ab1c03ea * avoid 8-bit truncation of the sizes in the internal linker map vor 5 Jahren
ognlm.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the vor 5 Jahren
ogomf.pas cc3cbbb7b9 * fix x86 compilation after my last commit vor 4 Jahren
ogrel.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 vor 5 Jahren
ogwasm.pas cdf1ceca76 * emit a weak symbol for the exception tag, since that's what the LLVM linker vor 4 Jahren
omfbase.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 vor 5 Jahren
optbase.pas b5659df425 + CalcUseSum: calculates a sum of all use sets of the current node and its children vor 5 Jahren
optconstprop.pas e350264db1 + propagate constants across call nodes vor 5 Jahren
optcse.pas 5921fa9a62 + store references to global variables in registers if benefical (currrently used for aarch64 only) vor 3 Jahren
optdead.pas b1dff29cbf * removed unused units vor 8 Jahren
optdeadstore.pas 08817f1aed * fixes to deadstore optimization vor 4 Jahren
optdfa.pas 0634d5349d * add const vor 3 Jahren
options.pas 273a598be8 * Amiga-likes: set some sensible heapsize defaults, for OSHeap support vor 3 Jahren
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. vor 4 Jahren
optloop.pas 7388735b11 * Strength reduction optimization: - Use a temp for complex loop start values to prevent double evaluation. vor 4 Jahren
opttail.pas dd6e6eb26a * disable tail recursion optimisation if there is a copy-back parameter vor 5 Jahren
optutils.pas 92771760b7 Get rid of some global variables. vor 3 Jahren
optvirt.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 vor 5 Jahren
owar.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL vor 5 Jahren
owbase.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL vor 5 Jahren
owomflib.pas e49025a086 More -CriotR fixes: vor 7 Jahren
parabase.pas b777dc21d7 * fix PowerPC compilation vor 5 Jahren
paramgr.pas 6404478ea4 * cleanup of VER3_0 defines vor 3 Jahren
parser.pas c3fb1e3a65 * initialize current_settings as early as possible so cs_debugswitch is set correctly if needed vor 4 Jahren
pass_1.pas 9d95e6159e * fix typo in comment vor 3 Jahren
pass_2.pas 8b7c5666a2 * Renamed fc_block_with_exit to fc_no_direct_exit to expand its usage. vor 4 Jahren
pbase.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 vor 5 Jahren
pcp.pas a4672fbd1c o based on a patch by Rika, resolves #39401: vor 4 Jahren
pdecl.pas f78818e387 * some warnings fixed vor 4 Jahren
pdecobj.pas c6874df5c8 * better error recovery, resolves #39485 vor 3 Jahren
pdecsub.pas f9957f30a5 * fix for Mantis #38771: the owner of the procdef might be Nil in case of a specialization (that virtual can't be used on generics is caught later on) vor 4 Jahren
pdecvar.pas 15865e7602 Record variant discriminators: check types vor 4 Jahren
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" vor 4 Jahren
pexpr.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 vor 3 Jahren
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 vor 5 Jahren
pgenutil.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 vor 3 Jahren
pinline.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 vor 3 Jahren
pkgutil.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 vor 5 Jahren
pmodules.pas a9d883ada1 Add link unit for esp-idf v4.1. Version checks to allow for different patch levels in idf_version. vor 3 Jahren
pp.lpi 867786c953 * update version vor 5 Jahren
pp.pas 39c5f11ec6 * the WASM define renamed WASM32 vor 5 Jahren
pparautl.pas ea5ffd597f * set self to nil in current_module.deflist for registered defs in the vor 4 Jahren
ppc68k.lpi 8192bf1b33 * version update vor 4 Jahren
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers vor 8 Jahren
ppcaarch64.lpi 1a559f5c60 * move the homogenous float aggregate determination function to a common vor 6 Jahren
ppcarm.lpi 5573bee314 + makefiles use -Sew, so added to the project as well vor 6 Jahren
ppcavr.lpi b9d4240a8d + version update vor 7 Jahren
ppcjvm.lpi 95bed362ba [PATCH 02/83] updating common FPC sources for WASM target vor 5 Jahren
ppcmips.lpi 9ebf2aa984 * project file updates vor 13 Jahren
ppcmips64el.lpi 9710b2cbb4 + some basic stuff for mips64el vor 5 Jahren
ppcmipsel.lpi 9ebf2aa984 * project file updates vor 13 Jahren
ppcppc.lpi 18a45d94a3 * version update vor 7 Jahren
ppcppc64.lpi 9ebf2aa984 * project file updates vor 13 Jahren
ppcppc64le.lpi e60a367f1b + project file for PowerPC64LE vor 4 Jahren
ppcriscv32.lpi 44150f43ac * RISC-V 32 compilation fixed vor 7 Jahren
ppcriscv64.lpi 65a415c13e * fix assembling with official binutils vor 7 Jahren
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.) vor 8 Jahren
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.) vor 8 Jahren
ppcwasm32.lpi bc76487b87 + enable the WebAssembly internal assembler and object writer vor 4 Jahren
ppcx64.lpi 2f36069dae bugfix 0037785 cvtsi2ss and cvtsi2sd in x86_64 { att} vor 4 Jahren
ppcx64llvm.lpi cd9e18fab4 * made lazarus project names more systematic vor 7 Jahren
ppcxtensa.lpi 27349661e0 + Xtensa: lazarus project vor 5 Jahren
ppcz80.lpi 1263880ef0 - removed the z80_internal_linker build mode from the lazarus project vor 5 Jahren
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed vor 9 Jahren
ppu.pas a4672fbd1c o based on a patch by Rika, resolves #39401: vor 4 Jahren
procdefutil.pas 4da6465d05 * correctly set the generic related defoptions for an outlined procdef vor 5 Jahren
procinfo.pas 30166f8eb7 Procedure-saved registers are now recorded for peephole optimizers to use vor 3 Jahren
psabiehpi.pas fe57cd3536 * fix LLVM after r48828 vor 4 Jahren
pstatmnt.pas 89f9ebc7b7 * throw an error if raise is called in a noreturn subroutine outside of any exception frame, resolves #39514 vor 3 Jahren
psub.pas a47f153dae * avoid to create a stack frame on aarch64 if possible vor 3 Jahren
psystem.pas 93ecf5f155 * synchronized with trunk vor 4 Jahren
ptconst.pas 276f5bdef8 * ensure that nothing assembly related is generated for generics when a typed constant (this also includes local variable initializations) are parsed vor 5 Jahren
ptype.pas eb7702bea4 + implement align directive for records, resolves #28927 vor 4 Jahren
raatt.pas 7e73e0dd23 + support reading of .p2align with op code and/or max. bytes in the gas assembler reader vor 4 Jahren
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from vor 19 Jahren
rasm.pas 46fe2d486c * forgotten comment vor 7 Jahren
rautils.pas 1c99c2655e * more helpful message if an unknown field is accessed in the assembler reader, resolves #38475 vor 4 Jahren
rescmn.pas b88d12c7b9 + add option -FF to force the use of fpcres as RC compiler vor 5 Jahren
rgbase.pas 4abc498f2f + added the Z80 individual flag bits as subregisters vor 5 Jahren
rgobj.pas e9acd759a4 * Fixed random AVs when targeting the AVX FPU. vor 3 Jahren
scandir.pas dcb1fcd9b8 + support $lgeacyifend directive, resolves #37676 vor 3 Jahren
scanner.pas 2a93e65511 * seperator => separator vor 3 Jahren
switches.pas be0d51d64c * allow $MinEnumSize, $PackSet and $PackRecords to be used with $Push and $Pop vor 7 Jahren
symbase.pas 5e3e4437c4 * use new TSym.EscapedRealName property when creating new symbols with the vor 4 Jahren
symconst.pas 1e37eef3d2 * use an anonymous symbol for the record operator table as its typing is different for each incarnation anyway vor 3 Jahren
symcreat.pas 5e3e4437c4 * use new TSym.EscapedRealName property when creating new symbols with the vor 4 Jahren
symdef.pas b78761efd3 * Removed obsolete OLDREGVARS ifdefs. vor 3 Jahren
symsym.pas f78818e387 * some warnings fixed vor 4 Jahren
symtable.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 vor 3 Jahren
symtype.pas 3ecb41cd2d * improvements to the prevention of dangling pointers in tmodule.deflist, vor 4 Jahren
symutil.pas 1a9e246c29 * added is_normal_fieldvarsym() helper and use it vor 5 Jahren
syscinfo.pas d0f8ea7969 Add arm-palmos target to list supporting po_syscall vor 8 Jahren
systems.inc 53e5a4a03a Adding aaarch64-embedded target vor 3 Jahren
systems.pas 53e5a4a03a Adding aaarch64-embedded target vor 3 Jahren
tgobj.pas f7239e03e7 * make tgobj.pas less verbose in extdebug mode, use separate define DEBUG_FREETEMP for the really vor 3 Jahren
tokens.pas c78e9557f8 * Added support for the old Turbo Pascal INLINE(data/data/...) statement. vor 4 Jahren
triplet.pas eb7ba1690e * mark all external assemblers using an LLVM tool using af_llvm vor 5 Jahren
verbose.pas 89f9ebc7b7 * throw an error if raise is called in a noreturn subroutine outside of any exception frame, resolves #39514 vor 3 Jahren
version.pas d147533c94 Remove "r" from FPC revision. vor 4 Jahren
wasmbase.pas b463f2a141 + added support for exception tags and for the 'throw' and 'catch' instructions vor 4 Jahren
widestr.pas cb44d7d4e2 * some cleanup vor 5 Jahren
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 vor 17 Jahren
wpobase.pas 5df9b994d1 * fix warnings which were caused by last changes to for node generation vor 9 Jahren
wpoinfo.pas b1dff29cbf * removed unused units vor 8 Jahren

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