[fpc-pascal] with no if assigned() there are bugs

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Sep 21 21:49:42 CEST 2016


Pierre Free Pascal wrote:
>   As the fix is not cpu specific, I enabled the -gc option
> for all linux systems in trunk, but this is untested.

Please never do that. I am the one that disabled this specific option in
the past (and others too) because they had never been tested and were
often broken. Enabling and releasing options without testing them at all
just results in user frustration (because they rightfully expect that
when we officially release something, it has at the very least been
tested by one person).

Additionally, -gc does not work at all as soon as you link to an
external library and access memory that has been allocated by this
external library. As a result, I would strongly discourage using it at
all, except in pure FPC programs.


Jonas



More information about the fpc-pascal mailing list