[fpc-devel] [Suggestion] Enumeration range-check intrinsic
Martok
listbox at martoks-place.de
Wed Jul 3 00:20:01 CEST 2019
Am 02.07.2019 um 20:54 schrieb Ondrej Pokorny:
> The conversation is more than a year old and I already posted a patch -
> also more than a year ago. I haven't received any feedback from the
> compiler developers since I uploaded the patch. Maybe you will have more
> luck.
FWIW: I've been flying this patch in the snapshot builds ever since, and nobody
complained. So it's probably not immediately broken ;-)
The problem is much bigger than enumerated types though, all subrange types are
fundamentally incompatible between FPC and Borland. I don't remember if your
patch handles those correctly as well? That probably needs a few test cases?
--
Regards,
Martok
Ceterum censeo b32079 esse sanandam.
More information about the fpc-devel
mailing list