Pierre Muller 33ad038bbb * Avoid some wrong error messages after initial error před 3 roky
..
aarch64 468975aa30 + move often used floating point constants into registers před 3 roky
arm bbcc396644 * ARM: fix for Merge Add/Sub optimization před 4 roky
armgen 40e1a09e6c * improved AndUtxh2And optimization před 4 roky
avr c28995494c * reverted wrongly committed file před 3 roky
generic c44095733c * Give access to CPU specific fields of tsettings record před 4 roky
html fa0d3d79e0 no message před 23 roky
i386 ef31e8c2ed Merge remote-tracking branch 'origin/main' into tg74/avx512-0037785 před 3 roky
i8086 ef31e8c2ed Merge remote-tracking branch 'origin/main' into tg74/avx512-0037785 před 3 roky
jvm 803779002d * the new constant string arraydefs are also implicit pointers types for JVM před 4 roky
llvm 04ebdf8df8 Fix compilation for x86_64 llvm variant před 4 roky
m68k cdc7fec019 m68k: D2 is considered volatile on macosclassic před 4 roky
mips 75a9c5b500 Also avoid invalid typecast for RegLoadedWithNewValue method for mips, sparcgen and xtensa před 4 roky
msg f134e3b0ee Sorted help options. před 3 roky
powerpc f5bd3d81e7 + common assembler optimizer base class for powerpc and powerpc64 před 4 roky
powerpc64 f5bd3d81e7 + common assembler optimizer base class for powerpc and powerpc64 před 4 roky
ppcgen f5bd3d81e7 + common assembler optimizer base class for powerpc and powerpc64 před 4 roky
riscv c2c7982a22 Fix check that third parameter of ADDI hp1 instruction is a constant před 4 roky
riscv32 e6e49baed1 Add A_CALL to the list of instructions considered as a calljmp, even though it is a pseudo-instruction, fixes a long list of -O3 and -O4 testsuite failures před 4 roky
riscv64 e6e49baed1 Add A_CALL to the list of instructions considered as a calljmp, even though it is a pseudo-instruction, fixes a long list of -O3 and -O4 testsuite failures před 4 roky
sparc f1883c4e61 * arm: taicpu uses set instead of boolean to store instruction states před 4 roky
sparc64 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 před 4 roky
sparcgen 75a9c5b500 Also avoid invalid typecast for RegLoadedWithNewValue method for mips, sparcgen and xtensa před 4 roky
systems 9d2e71ff69 * patch by Alfred to use new linker names for Android NDK >=22, resolves #38987 před 4 roky
utils 468975aa30 + move often used floating point constants into registers před 3 roky
wasm32 715de4547a * fixed WASI dll imports that are declared in a different unit před 4 roky
x86 3cddfb4e2f * patch by J. Gareth Moreton: x86: SETcc/TEST/SETcc -> SETcc/SETcc optimisation, resolves #39271 před 3 roky
x86_64 468975aa30 + move often used floating point constants into registers před 3 roky
xtensa 46507f9565 * Xtensa: optimize constant multiplications před 4 roky
z80 122ed4b76a * Support for sleb128 and uleb128 constants in the NASM writer. před 4 roky
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) před 8 roky
MPWMake 43c50d0a32 Remove unused, obsolete -dBROWSERLOG option před 4 roky
Makefile b3bf183fd3 * pass the final name of the compiler executable when compiling the compiler to avoid před 3 roky
Makefile.fpc b3bf183fd3 * pass the final name of the compiler executable when compiling the compiler to avoid před 3 roky
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files před 16 roky
aasmbase.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 před 4 roky
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives před 6 roky
aasmcnst.pas 940738a3a1 * synchronized with trunk před 4 roky
aasmdata.pas aefc1be555 * Reverted accidentally committed files. před 5 roky
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 f1d30a5bc6 Add .force_thumb pseudo-directive support forarm reader před 4 roky
aggas.pas 122ed4b76a * Support for sleb128 and uleb128 constants in the NASM writer. před 4 roky
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 94a15faa7f * patch by J. Gareth Moreton to fix faulty conditional jump logic, resolves #38985 před 4 roky
aoptutils.pas bae583118a * patch by J. Gareth Moreton: x86 JccMovJmpMov2MovSetcc improvement, resolves #38761 před 4 roky
assemble.pas 122ed4b76a * Support for sleb128 and uleb128 constants in the NASM writer. před 4 roky
blockutl.pas a051b8d225 - remmoved doregister parameter from t*sym constructors, as the registration před 5 roky
browcol.pas 1a9e246c29 * added is_normal_fieldvarsym() helper and use it před 5 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 d5a0dd3d25 * prevent a range check error in TFPList.IndexOfItem when searching backwards in před 4 roky
cepiktimer.pas 99d88b91a9 * do not include fpcdefs in the cepiktimer unit před 4 roky
cfidwarf.pas ca399f3c71 * don't generate high-level CFI statements when the selected assembler před 4 roky
cfileutl.pas e7d1a77f9a * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS před 5 roky
cg64f32.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 před 4 roky
cgbase.pas 8006900e8e - clean up před 4 roky
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 dca4bde3a2 * unified internal error před 3 roky
cgutils.pas 5726428dcc * patch by J. Gareth Moreton: Additional SETcc optimisations, resolves #38767 před 4 roky
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled před 8 roky
comphook.pas 74eb7b5050 + added coloured compiler output support for OS/2 and DOS targets, platform-specific parts refactored to a standalone unit to remove the heap of ifdefs in unit comphook před 4 roky
compiler.pas 84e36cce0f * fix morphos info unit name after r44454 před 5 roky
compinnr.pas 54299874d3 + implemented memory.grow and memory.size intrinsics and implemented SysOSAlloc před 4 roky
comprsrc.pas f3541984ee * make sure that the resource compiler related globals are reset před 5 roky
comptty.pas 682e29c4ff + enable colored output on darwin, resolves #38693 před 4 roky
constexp.pas 0188a558d1 - obsolete defines removed před 4 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 11 roky
cresstr.pas 764227193a * Added on option to implement library based smartlinking of the dead stripable vectorized lists (e.g. resource strings index). By default smartlinking of such lists only supported when the section based smartlinking (tf_smartlink_sections) is enabled for a target. před 5 roky
cscript.pas f5e5f9645c Add fForceUseForwardSlash to TLinkRes class, used for vlink linker on hosts using backslashes před 4 roky
cstreams.pas 8369f035bf * use AnsiString for file names to overcome length limitations před 4 roky
cutils.pas 0188a558d1 - obsolete defines removed před 4 roky
dbgbase.pas 2808873d1b * Reworked the optimization of unused $parentfp for nested routines. před 5 roky
dbgcodeview.pas 04727844b5 * Fixed value of the LF_PAD13 enum element. před 4 roky
dbgdwarf.pas bae6ca6883 * Dwarf: write variant fields only if the require features are present, resolves #38651 před 4 roky
dbgstabs.pas acf2567bda Second trial to fix commit 48688 před 4 roky
dbgstabx.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the před 5 roky
defcmp.pas aec18c2426 * weight currency->float conversions the same regardless if před 4 roky
defutil.pas 803779002d * the new constant string arraydefs are also implicit pointers types for JVM před 4 roky
dirparse.pas 93be88b270 * reverted r47862 před 4 roky
dwarfbase.pas 6817cea33b + missing unit před 6 roky
elfbase.pas 245b58c249 + support for arm attributes před 5 roky
entfile.pas f8052134e3 * synchronized with trunk před 4 roky
export.pas b1dff29cbf * removed unused units před 8 roky
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa před 6 roky
finput.pas 243c967967 Commit of new debug feature implemented by J. Gareth Moreton před 6 roky
fmodule.pas 5085a04930 - removed the (deflist[i] is tdef) check from the tmodule destructor, since před 4 roky
fpccrc.pas 1002a7c590 * 8086: Fixed very long section names when $HUGECODE is ON and section based smartlinking is used. před 5 roky
fpcdefs.inc 814b68fac0 * more fixes for VASM for ARM před 4 roky
fpcp.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 před 4 roky
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: před 9 roky
fppu.pas 2a2576b1d5 * further fix for Mants #26760: applied patch by Ondrej Pokorny to fix recompilation of units referenced with an "in" clause if no file extension is provided před 4 roky
gendef.pas 3af74d2fd2 + implement initial compiler support for Win64 on Aarch64 před 5 roky
globals.pas c9b90ccde0 m68k: sinclair ql now requires vlink 0.16h or newer. před 4 roky
globstat.pas 04bbfd1746 * fix for Mantis #27378: save and (more importantly) restore verbosity when switching a unit před 6 roky
globtype.pas 468975aa30 + move often used floating point constants into registers před 3 roky
hlcg2ll.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 před 4 roky
hlcgobj.pas 8efae66956 * we cannot do SSA during partial writes to arrays which span multiple registers, resolves #39325 před 3 roky
htypechk.pas a7de0b365b Avoid invalid typecast error when using -CR option před 4 roky
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 d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). před 13 roky
link.pas 7a0c6ab591 - removed unused leftovers from old t_bsd code před 4 roky
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
msgidx.inc f134e3b0ee Sorted help options. před 3 roky
msgtxt.inc f134e3b0ee Sorted help options. před 3 roky
nadd.pas 33ad038bbb * Avoid some wrong error messages after initial error před 3 roky
nbas.pas c2ff85ac5b * patch by J. Gareth Moreton: Nothing (NOP) node optimisation, resolves #38194 před 4 roky
ncal.pas 7330a0156c * fix writing of the method and parameter names for the Variant call description před 4 roky
ncgadd.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 před 4 roky
ncgbas.pas c78e9557f8 * Added support for the old Turbo Pascal INLINE(data/data/...) statement. před 4 roky
ncgcal.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 před 4 roky
ncgcnv.pas d7fe9914a7 + introduce tcgobj.a_loadfpu_reg_intreg před 4 roky
ncgcon.pas 6d75992674 * fix proposed by Christo Crause: properly handle pointer constant nodes on avr, resolves #38321 před 4 roky
ncgflw.pas 940738a3a1 * synchronized with trunk před 4 roky
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false před 10 roky
ncginl.pas 316f2429f0 * do not omit location_force_reg on second operand of sar/ro* if před 4 roky
ncgld.pas cc64d9eb4e * do not swap left/right code generation for assignment nodes if před 4 roky
ncgmat.pas 74d145bb16 * simplify tcgunaryminusnode.second_integer před 4 roky
ncgmem.pas a5f6505edc * fix range checking for zero based strings, resolves #39323 před 3 roky
ncgnstfl.pas d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms před 5 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 cc315e0ac7 * fix tw3930 after r37927 před 4 roky
ncgset.pas c4e8f091ec * generate jumpless code for the IN node for WebAssembly. TODO: this needs to be před 4 roky
ncgutil.pas 5ca2356638 * take care of po_noreturn in more cases před 4 roky
ncgvmt.pas 0ab4515e58 * properly mangle interface wrapper names to avoid duplicate label errors, resolves #38385 před 4 roky
ncnv.pas 29a5d3267c * moved warning about suspicious comp assignment to type check pass, catches also před 4 roky
ncon.pas 07dcd22b1c * sizeof(array) and length(array) must return sizeUint in case the array před 4 roky
nflw.pas 39896a1b11 Destroy tfornode class loopiteration field if assigned před 4 roky
ngenutil.pas d0d07dc3bf * naturally align threadvar lists/tables před 4 roky
ngtcon.pas 0ca1e2fb42 * attempt to fix bitpacked records with qwords in them (tw36156) when cross-compiling to big endian targets from x86. essentially the x86 shifting workarounds in the code already weren't covering all corner cases. před 4 roky
ninl.pas 07dcd22b1c * sizeof(array) and length(array) must return sizeUint in case the array před 4 roky
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. před 4 roky
nmat.pas 2ce34f7bd3 * do constant folding on div <const. int> div <const. int>, resolves #39301 před 3 roky
nmem.pas 8b24d60df7 * removed accidently committed printnode před 4 roky
nobj.pas 4ba19f5418 * add support for creating non-address-only procvars to před 5 roky
nobjc.pas 68eb921d46 * broken compilation after r39347 fixed před 7 roky
node.pas a0e96fd551 Fix pos field closing in XML node output after commit 47720 před 4 roky
nopt.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would před 6 roky
nset.pas 940738a3a1 * synchronized with trunk před 4 roky
nutils.pas e0a1bc6675 + optimize (a and b) or (c and not(b)) into c xor ((c xor a) and b) před 4 roky
objcasm.pas 51209eac9c * fixed bootstrap for Darwin/ppc with FPC 3.0 (workaround for před 9 roky
objcdef.pas b1dff29cbf * removed unused units před 8 roky
objcgutl.pas e7d1a77f9a * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS před 5 roky
objcutil.pas b1dff29cbf * removed unused units před 8 roky
ogbase.pas 9003114a8f + support R_X86_64_GOTPCRELX and R_X86_64_REX_GOTPCRELX před 4 roky
ogcoff.pas 77e3a402da Set string length before calling move to avoid problems with global data analysis on systems using C library před 4 roky
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 a5ab1c03ea * avoid 8-bit truncation of the sizes in the internal linker map před 5 roky
ognlm.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the před 5 roky
ogomf.pas 75491ae21c * Removed/ifdefed the assigned and unused variables. před 4 roky
ogrel.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 před 4 roky
omfbase.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 před 4 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 e350264db1 + propagate constants across call nodes před 5 roky
optcse.pas 468975aa30 + move often used floating point constants into registers před 3 roky
optdead.pas b1dff29cbf * removed unused units před 8 roky
optdeadstore.pas 08817f1aed * fixes to deadstore optimization před 4 roky
optdfa.pas b4a6c22234 * do not check inlined exit nodes for unset results, resolves #38259 před 4 roky
options.pas 9305bff861 * generate a def. file only if really necessary před 3 roky
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 64c586b86d * Removed/ifdefed lots of unused variables. před 4 roky
opttail.pas dd6e6eb26a * disable tail recursion optimisation if there is a copy-back parameter před 5 roky
optutils.pas a988c0fab1 * explicitly reset successor if noreturn is set před 4 roky
optvirt.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 před 4 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 e49025a086 More -CriotR fixes: před 6 roky
parabase.pas b777dc21d7 * fix PowerPC compilation před 5 roky
paramgr.pas 0a4f75ce7a Add explicit zeroing of trttiparaloc record to avoid hash calculation issues před 4 roky
parser.pas c3fb1e3a65 * initialize current_settings as early as possible so cs_debugswitch is set correctly if needed před 4 roky
pass_1.pas 7721995c71 Make sure nf_usercode_entry get transferred inside firstpass procedure před 4 roky
pass_2.pas 8b7c5666a2 * Renamed fc_block_with_exit to fc_no_direct_exit to expand its usage. před 4 roky
pbase.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 před 4 roky
pcp.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler před 6 roky
pdecl.pas 6230de31bb * Second patch xml-node-dump-defs.patch from J. Gareth Moreton from bug report 36882. před 4 roky
pdecobj.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 před 4 roky
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) před 4 roky
pdecvar.pas ea5ffd597f * set self to nil in current_module.deflist for registered defs in the před 4 roky
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" před 4 roky
pexpr.pas 07dcd22b1c * sizeof(array) and length(array) must return sizeUint in case the array před 4 roky
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 před 5 roky
pgenutil.pas 51326e94f3 * allow char constant to be used for const string parameters in generic specializations, resolves #39030 před 4 roky
pinline.pas 091b0fde0c * fixed type of size parameter passed to fpc_getmem() when translating před 4 roky
pkgutil.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 před 4 roky
pmodules.pas ea5ffd597f * set self to nil in current_module.deflist for registered defs in the před 4 roky
pp.lpi 867786c953 * update version před 5 roky
pp.pas 39c5f11ec6 * the WASM define renamed WASM32 před 5 roky
pparautl.pas ea5ffd597f * set self to nil in current_module.deflist for registered defs in the před 4 roky
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 1a559f5c60 * move the homogenous float aggregate determination function to a common před 6 roky
ppcarm.lpi 5573bee314 + makefiles use -Sew, so added to the project as well před 5 roky
ppcavr.lpi b9d4240a8d + version update před 7 roky
ppcjvm.lpi 95bed362ba [PATCH 02/83] updating common FPC sources for WASM target před 5 roky
ppcmips.lpi 9ebf2aa984 * project file updates před 13 roky
ppcmips64el.lpi 9710b2cbb4 + some basic stuff for mips64el před 5 roky
ppcmipsel.lpi 9ebf2aa984 * project file updates před 13 roky
ppcppc.lpi 18a45d94a3 * version update před 6 roky
ppcppc64.lpi 9ebf2aa984 * project file updates před 13 roky
ppcppc64le.lpi e60a367f1b + project file for PowerPC64LE před 4 roky
ppcriscv32.lpi 44150f43ac * RISC-V 32 compilation fixed před 7 roky
ppcriscv64.lpi 65a415c13e * fix assembling with official binutils před 7 roky
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.) před 8 roky
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.) před 8 roky
ppcwasm32.lpi 9257aa8594 + define EXTDEBUG for the wasm32 compiler, when compiled using the lazarus project před 4 roky
ppcx64.lpi 2f36069dae bugfix 0037785 cvtsi2ss and cvtsi2sd in x86_64 { att} před 3 roky
ppcx64llvm.lpi cd9e18fab4 * made lazarus project names more systematic před 7 roky
ppcxtensa.lpi 27349661e0 + Xtensa: lazarus project před 5 roky
ppcz80.lpi 1263880ef0 - removed the z80_internal_linker build mode from the lazarus project před 5 roky
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed před 9 roky
ppu.pas 4483343d00 Return -1 if size of file is smaller tham header size in tppufile.readheader method před 4 roky
procdefutil.pas 4da6465d05 * correctly set the generic related defoptions for an outlined procdef před 5 roky
procinfo.pas 7bffafdf8b * Improved the parentfp optimization to properly handle cases when a nested routine calls other nested routines. před 5 roky
psabiehpi.pas fe57cd3536 * fix LLVM after r48828 před 4 roky
pstatmnt.pas 3ca73da912 * In TP-style INLINE, allowed the > modifier for global vars and relaxed range checks. před 4 roky
psub.pas 468975aa30 + move often used floating point constants into registers před 3 roky
psystem.pas 93ecf5f155 * synchronized with trunk před 4 roky
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 eb7702bea4 + implement align directive for records, resolves #28927 před 4 roky
raatt.pas 6218254e53 * allow also 8 byte string constants in assembler, resolves #28640 před 4 roky
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 1c99c2655e * more helpful message if an unknown field is accessed in the assembler reader, resolves #38475 před 4 roky
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 b43ee41090 * If in a move instruction "MOV reg1,reg2" one of the registers must be před 3 roky
scandir.pas 64c586b86d * Removed/ifdefed lots of unused variables. před 4 roky
scanner.pas 77cc2f4ced * decrease macro nesting counter early when expanding empty macro před 4 roky
switches.pas be0d51d64c * allow $MinEnumSize, $PackSet and $PackRecords to be used with $Push and $Pop před 7 roky
symbase.pas 5e3e4437c4 * use new TSym.EscapedRealName property when creating new symbols with the před 4 roky
symconst.pas 9fa61a6c9f - removed the discardresult proc directive před 4 roky
symcreat.pas 5e3e4437c4 * use new TSym.EscapedRealName property when creating new symbols with the před 4 roky
symdef.pas 3ecb41cd2d * improvements to the prevention of dangling pointers in tmodule.deflist, před 4 roky
symsym.pas cc5814dac1 * support arbitrary record regvars on AArch64: it has fairly complete support před 4 roky
symtable.pas 3ce6cae11d * fix for #39310 by fixing various small issues in tabstractrecordsymtable.has_single_field: před 3 roky
symtype.pas 3ecb41cd2d * improvements to the prevention of dangling pointers in tmodule.deflist, před 4 roky
symutil.pas 1a9e246c29 * added is_normal_fieldvarsym() helper and use it před 5 roky
syscinfo.pas d0f8ea7969 Add arm-palmos target to list supporting po_syscall před 7 roky
systems.inc e310be017e + Add support for -Adefault. před 3 roky
systems.pas e310be017e + Add support for -Adefault. před 3 roky
tgobj.pas 4bac65be86 * set the wasm tempgen direction in the parent constructor, together with the other targets před 4 roky
tokens.pas c78e9557f8 * Added support for the old Turbo Pascal INLINE(data/data/...) statement. před 4 roky
triplet.pas eb7ba1690e * mark all external assemblers using an LLVM tool using af_llvm před 5 roky
verbose.pas 0188a558d1 - obsolete defines removed před 4 roky
version.pas d147533c94 Remove "r" from FPC revision. před 4 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 16 roky
wpobase.pas 5df9b994d1 * fix warnings which were caused by last changes to for node generation před 8 roky
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