Re: [fpc-devel] Going to properly investigate that 3.0.2 bug

2021-07-15 Thread J. Gareth Moreton via fpc-devel
The fact that it's fixed in FPC 3.2.2 is not too hopeful, but we can't ignore evidence!  Hopefully there's a clue somewhere. What I really need is a sample that causes a crash in 3.2.2 but not 3.3.1, but as you said, this bug seems to be rather unpredictable. Gareth aka. Kit On 15/07/2021 03

Re: [fpc-devel] Going to properly investigate that 3.0.2 bug

2021-07-14 Thread Olly Cain via fpc-devel
Not what Martin is experiencing as this is related to loop unrolling (O3 and O4) but it could help. Also was only an issue in 3.2.0. https://bugs.freepascal.org/view.php?id=37305 ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.fr

Re: [fpc-devel] Going to properly investigate that 3.0.2 bug

2021-07-10 Thread J. Gareth Moreton via fpc-devel
That's got to be the worst kind of bug - I know it's been fixed but I can't remember what fix it was (assuming it was me who fixed it).  Without a reproducible case I can't exactly identify the patch that fixes it, and yet I don't want to leave FPC 3.2.0 in a state where the optimizer is in an

Re: [fpc-devel] Going to properly investigate that 3.0.2 bug

2021-07-10 Thread Martin Frb via fpc-devel
On 10/07/2021 06:40, J. Gareth Moreton via fpc-devel wrote: Hi everyone, So I want to fix that optimisation bug in FPC 3.0.2 and 3.2.0 etc, but I need a little bit of help.  I know that Lazarus doesn't build properly with optimisations, but does anyone know of a smaller project that compiles

[fpc-devel] Going to properly investigate that 3.0.2 bug

2021-07-09 Thread J. Gareth Moreton via fpc-devel
Hi everyone, So I want to fix that optimisation bug in FPC 3.0.2 and 3.2.0 etc, but I need a little bit of help.  I know that Lazarus doesn't build properly with optimisations, but does anyone know of a smaller project that compiles incorrectly and causes an easy crash when run?  If not, what