Sign in Join

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

Mailing lists / fpc-devel

fpc-devel · 2018-06

  1. AVX 512 - Can't compile vaddps zmm1, zmm2, zmm3

    I started testing the AVX512 branch: https://svn.freepascal.org/svn/fpc/branches/tg74/avx512/ This is the code: {$ASMMODE intel} asm vaddps zmm1, zmm2, zmm3 end; The…

    Joao Schuler, avx512, Florian Klämpfl
    13
  2. Michael: 0033917: TSQLQuery.CreateParams - override param class

    because I cannot comment on resolved issues without reopening/closing them, I'd like to send the question here. Issue reports:…

    Ondrej Pokorny, Luiz Americo Pereira Camara, Michael Van Canneyt
    2
  3. Managed Types, Undefined Bhaviour

    Willibald Krenn, Florian Klämpfl, Jonas Maebe
    39
  4. AVR debug info - bug 0033914

    I'm trying to figure out how to fix bug 33914. This bug causes gdb to read variable addresses from flash, not RAM.  Looking at the DWARF info, the address of a variable…

    Christo, Joost van der Sluis
    2
  5. Maximum symbol length

    What is the official maximum symbol length? If it is 255, as the definition "TSymStr = ShortString" suggests, then FPC does not always take proper care of it. In…

    Unknown author, Florian Klaempfl, Jonas Maebe
    11
  6. Revision 39348 (Florian)

    I do nut really understand why you return a mantissa with the highest bit stripped off for type Extended. this type _is_ the full 64 bits, see…

    Bart, Florian Klämpfl
    2
  7. Attn. Generics.Collections and rev. 39345 and speed slowdown

    renaming for TMormotHashFactory to TGenericsHashFactory is somehow acceptable (but IMO bad taste) but change for default hashing algorithm in such important library is…

    Maciej Izak, Michael Van Canneyt, Sven Barth
    8
  8. Generics.Collections June update

    I have decide to keep compatibility for Generics.Collections with FPC 3.0.4 and trunk as long as possible (library is important for many users). First update and related…

    Maciej Izak, Sven Barth
    4
  9. Bugfixes merge request

    Hello! Because there have been rumours about merging 3.2, I'd like to request to review 2 bug fixes that I'd like to have in 3.2 and therefore before merging:…

    Ondrej Pokorny, Florian Klaempfl
    2
  10. Possible internal corruption

    I'm having some difficulty with fixing issue #33909, and I may have stumbled a more severe problem that might be causing some internal corruption.  I have raised a new…

    J. Gareth Moreton, Martok
    3
  11. Attn Sven: New flags related to management operators

    I saw the new commits related to Management Operators (I mean new flags riifNonTrivialChild and riifParentHasNonTrivialChild) and I wonder what next. When I was…

    Maciej Izak, Sven Barth
    6
  12. FPC Macros: Could it be used for unit aliases?

    In another thread[1] Sven Barth explained to me how to use macros properly following my example before. However, I think this could be used as a syntax sugar for unit…

    Marcos Douglas B. Santos, Sven Barth
    6
  13. Optimization theory

    Note that I speak mostly from an x86_64 perspective, since this is where I have almost universal exposure. So I've been pondering a few things after researching…

    J. Gareth Moreton, Christo Crause, Florian Klämpfl
    19
  14. TThread.Queue and TThread.Destroy

    fpc 3.0.4 / Linux 64bit (Fedora) What should happen if: - A Thread has queued a call with "TThread.Queue" - The Thread gets Terminated and Destroyed before the queued…

    Martin, Sven Barth
    3
  15. Smart pointers/nullable types - compromise solution

    I think that the most acceptable solution for all in core team and for advanced users (here I mean Stefan Glienke ;) ) for smart pointers and nullable types is usage of…

    Maciej Izak
    0
  16. 3.0.5 merge request

    could you please merge r36749 (see https://bugs.freepascal.org/view.php?id=32163) into 3.0.x fixes branch so that it will be available with 3.0.6? It looks like the…

    Ondrej Pokorny, Luca Olivetti, Marco van de Voort
    5
  17. Forbidden: https://www.freepascal.org/packages/

    Not sure where to ask. I clicked on the link "Packages"on https://www.freepascal.org/ and got this: https://www.freepascal.org/packages/ Forbidden You don't have…

    Bart, Joost van der Sluis, Michael Van Canneyt
    3
  18. FPC fails on overload

    The following code: {$MODE DELPHI} program CharOverload; uses   SysUtils; procedure Foo(const aArg: UnicodeString); overload; begin   WriteLn('WideString: ', aArg);…

    David Jenkins, Florian Klämpfl, J. Gareth Moreton
    8
  19. Overload failure

    Sorry.  Forgot to add that I tried on MacOS and Linux, 32bit & 64bit.  Same message on all. David

    David Jenkins
    0
  20. targetandroid

    In the past - which was 2013, time flies by - I built an FPC cross-compiler on Mac OS X from the FPC targetandroid branch sources. Together with Android binutils (and a…

    Adriaan van Os, Jonas Maebe, Karoly Balogh (Charlie/SGR
    17
  21. MSSQL doesn't commit 2nd transaction

    I found a bug when I use 2 transaction with one MSSQL connection. If one transaction has open SELECT results, the second transaction doesn't commit UPDATE statements. No…

    Ondrej Pokorny, LacaK, Michael Van Canneyt
    5
  22. Kit's ambitions!

    So for those who have observed me, I can be a little... excitable and optimistic sometimes with developing for Free Pascal.  Sometimes it might not be for the best, but…

    J. Gareth Moreton, Christo, David Pethes
    31
  23. Proposal for 2 new compiler functions

    Sorry to flood the mailing list again with more ideas and experiments. I would like to propose introducing a new pair of in-built functions for the compiler. function…

    J. Gareth Moreton, Florian Klämpfl, Wolf
    9
  24. Unexpected behaviour with intermediate results

    https://bugs.freepascal.org/view.php?id=33851 Someone pointed out that if you perform "(x shl 8) shr 8", where x is of type Word, the result is always x, even though…

    J. Gareth Moreton, Giuliano Colla, Stefan Glienke
    5
  25. RandomFrom vs Generics

    This var x:Integer; a:array of Integer; begin x:=RandomFrom(a); code works with 3.0.4 but cannot compile with trunk and got "Error: Generics without specialization…

    Gabor Boros, Sven Barth
    3
  26. {$mode tp} compatibility issue

    I just stepped into a trap when compiling Turbo Pascal source with FreePascal, and wonder how FreePascal could prevent this. The source effectively contains something…

    Klaus Hartnegg, Marco van de Voort, Mattias Gaertner
    2
  27. "ease of use" patches

    I've just recently submitted a patch with some code that makes one of the compiler errors clearer for the user, and minimises a 'cascade' where more errors appear due to…

    J. Gareth Moreton, Florian Klaempfl
    1
  28. Debugging Loop Unroll Optimization

    as we have discovered in 0033576 and 0033614, there is a bug somewhere in the loop unroll optimization pass that only appears in complex enough code. The problem is, it…

    Martok, Bart, Florian Klämpfl
    39
  29. procedure ShowException

    is there any reason the OnShowException event is ignored for console applications? Why not so: procedure ShowException(ExceptObject: TObject; ExceptAddr: Pointer); //…

    Ondrej Pokorny, Sven Barth
    1
  30. x86_64-win64 compilation failure

    I think the latest version of the compiler on SVN is broken.  I tried getting a clean copy from the repository, but running the script fails with the following on…

    J. Gareth Moreton, Sven Barth
    4
  31. Signed division

    I'm starting to make some modifications to the optimizer so it optimises div and mod operations on signed integers (I've done unsigned integers already). One question…

    J. Gareth Moreton, Christo Crause
    2