Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel

fpc-devel · 2021-12

  1. Functors

    I propose that the support for https://en.wikipedia.org/wiki/Function_object be added to the FPC. A subset of such functionality already existed as a part of my…

    Unknown author, Martin Frb, Michael Van Canneyt
    17
  2. $modeswitch Closures

    The attached modeswitch_closures.patch introduces {$modeswitch Closures}; it is included in {$mode Delphi}. There is a distinction between anonymous routines (defined…

    Unknown author, Sven Barth
    1
  3. Initialising method pointers with class methods

    DCC allows the subj (provided that the class type is known at compile time), FPC does not. The attached init_methptr_with_classmeth.patch implements this feature.…

    Unknown author, Sven Barth
    1
  4. Assigning class methods, accessed via a class reference type, to procvars

    1) The attached metaclass_meth_to_procvar-1.patch fixes the internal error reported for: [ICE] Assigning class methods, accessed via a class reference type, to…

    Unknown author, Ozz Nixon, Ryan Joseph
    4
  5. Assigning instance methods, accessed via a type, to method pointers

    Subj silently produces invalid codegen: -------8<------- var Z: procedure of object; type R = record procedure Foo; end; procedure R.Foo; begin end; type O = object…

    Unknown author, Sven Barth
    1
  6. Parsing procedural type and method directives

    1) The following three routines: pdecsub.pas!parse_parameter_dec pdecvar.pas!maybe_parse_proc_directives ptype.pas!read_named_type\procvar_dec create a dummy typesym for…

    Unknown author, Sven Barth
    1
  7. I've asked this before, but perhaps I wasn't specific enough that time: what do I *personally*, specifically need to do to ensure that a native Windows 64-bit build winds up on the FPC website for the next release?

    To be very clear, to me, this is absolutely nothing more than just a matter of building the compiler completely normally. It takes like two minutes all-in. I don't…

    Ben Grasset, Alexander Grotewohl, Bart
    59
  8. Unexpected range check error (64-bit only)

    Something like this: Int64 := Byte + Byte + (Signed integer type (8,16 or 32 bit) with value < 0) will always give a range check error on X86_64 platform (if range…

    Bart, Jonas Maebe
    7
  9. Assembler file option (-a)

    on Linux with FPC 3.2.2 the executable size of programs compiled with fpc -On -a (tried with n 2 or 4) is smaller than when the assembler files are deleted (-a omitted).…

    Marco Borsari, Christo Crause, Sven Barth
    4
  10. fpc bug with M1

    I don't have an M1 myself, but according to the data from the thread on the lazarus mail list, there is a bug in the 3.3.1 asm generator for M1 var pn8: pint8; //…

    Martin Frb, Florian Klämpfl, Jonas Maebe
    15
  11. Lazarus server maintenance

    On Monday 27 December 9.00 CET (8.00 GMT) the Lazarus server will be down for maintenance. This affects the following services: * Lazarus website * Lazarus mailinglists…

    Marc Weustink, Bart, Martin Frb
    9
  12. jUnit output for fpcunit

    I'm trying to run my fpcunit unit-tests on Gitlab, and let Gitlab show the results. But it can only handle JUnit-like xml. Does someone already have something lying…

    Joost van der Sluis, Florian Klämpfl, Michael Van Canneyt
    5
  13. Fixed up !104

    I fixed up the CPU subtype in https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/104 - hopefully the merge request is good now. Gareth aka. Kit This email has…

    J. Gareth Moreton
    1
  14. fpc make fail target embedded wasm32

    make all OS_TARGET=embedded CPU_TARGET=wasm32 BINUTILSPREFIX= OPT="-O-" PP=fpc External command "/home/mattias/pascal/fpc/3.3.1/compiler/ppcrosswasm32 -Tembedded…

    Mattias Gaertner
    0
  15. Overlapping addresses between 2 procedures in dwarf info / 3.2.0

    I am looking at some oddity I found following up https://forum.lazarus.freepascal.org/index.php/topic,57568.0.html Unfortunately, I have no code yet to reproduce it. I…

    Martin Frb
    1
  16. Minor doc error about "const param"

    Actually an commission, but an important one. https://www.freepascal.org/docs-html/current/ref/refsu67.html#x183-20700014.4.4 the contents of the parameter will not be…

    Martin Frb, Adriaan van Os, Bart
    8
  17. Assigning class non-static methods, accessed via a helper type, to method pointers

    Subj silently produces invalid codegen: -------8<------- type C = class end; type H = class helper for C class procedure Bar; end; class procedure H.Bar; begin…

    Unknown author
    0
  18. Random branchless coding video!

    So I stumbled across this Australian programmer who talks about branchless programming and assembly-level optimisations, and it's interesting because he points out the…

    J. Gareth Moreton
    0
  19. Windows avr-embedded binutils binaries

    where can I found the avr-embedded windows binaries from the build repocitory ( https://svn.freepascal.org/svn/fpcbuild/binaries/i386-win32 ) ? The link, of course, does…

    Unknown author, Florian Klämpfl
    1
  20. Typhon64 or better not?

    I have been a calm readers for years and I want to try something Lazarus. I discovered Typhon64 in the net and wonder if that's someone uses or if there are more…

    Ralf, Christo Crause
    1
  21. Made improvements for the "extra optimisation information" feature

    I made some updates and cleaned things up with the "extra optimisation feature" I started to experiment with a while ago. Well, I've managed to find a better showcase…

    J. Gareth Moreton
    0
  22. FPC trunk building lazarus trunk fails with compiler AV ?

    FPC trunk building lazarus trunk fails with compiler AV ? An old ghost seems to have resurfaced. I didn't build a development lazarus for a while (I used a stable one…

    Marco van de Voort, Florian Klämpfl, Karoly Balogh
    9
  23. Error: Internal error 200602035

    I just got: fpdebugdebugger.pas(4322,1) Error: Internal error 200602035 Even on a clean build. (fpc 3.2.3, updated yesterday) I am not able to create a small example,…

    Martin Frb
    0
  24. Bug? "overload" between class.method and plain procedure ?

    Should overload work for the following? Upon seeing the method being overloaded, if (in the class hierarchy) no method  with matching signature is found, should…

    Martin Frb
    0
  25. Attn: Sven Can not use "specialize" to resolve forward declaration

    https://gitlab.com/freepascal.org/fpc/source/-/issues/39459 You wrote has a constraint that constraint /must/ be adhered to and a forward declaration is /not/ a valid…

    Martin Frb, Sven Barth
    2
  26. Optimisation challenge!

    I've noticed a bit of a deep potential optimisation for faster code:     jne     .Lj1806     movb    $13,-40(%rbp)     cmpq    $0,-32(%rbp)     je …

    J. Gareth Moreton
    0
  27. Incorrect debug info for ESP32, linker error?

    When compiling a simple test for esp32 (xtensa-freertos), the incorrect values for DW_AT_low_PC and DW_AT_high_PC are generated. From my inspection of the generated…

    Christo Crause, Florian Klämpfl
    4
  28. Ordinal optimisation question

    I'm playing around with some node-level optimisations because I've noticed that some Int64 operations on 32-bit platforms can be sped up if the arithmetic is changed…

    J. Gareth Moreton
    0