Re: [fpc-devel] Progress on pure functions

2023-08-15 Thread J. Gareth Moreton via fpc-devel
Fixed my problem with the recursive function (enabling range check and overflow errors blocked dead-store elimination, so I worked around that) and the warning no longer cascades.  Progress is being made! Kit On 16/08/2023 04:02, J. Gareth Moreton via fpc-devel wrote: So managed to stop the

Re: [fpc-devel] Progress on pure functions

2023-08-15 Thread J. Gareth Moreton via fpc-devel
So managed to stop the cascade in a fairly clean way (it detects the difference in ErrorCount, marks the call node as erroneous and flags "codegenerror"), and it seems to work. pure1a.pp(15,24) Error: Range check error while evaluating constants (6227020800 must be between -2147483648 and

[fpc-devel] Recent changes break distclean for utils

2023-08-15 Thread Garry Wood via fpc-devel
Hello, Just letting you know that some recent changes seem to have broken "make distclean" for source/utils Makefile.fpc in the source/utils folder contains the line: CLEAN_TARGET_DIRS=$(subst /Makefile.fpc, ,$(wildcard */Makefile.fpc)) But a recent commit (25 July 2023) removed all the