[fpc-pascal] Lack of 'volatile' a serious issue. Any other such caveats?

Sven Barth pascaldragon at googlemail.com
Sat Dec 19 14:24:03 CET 2015


Am 19.12.2015 14:19 schrieb "Jonas Maebe" <jonas.maebe at elis.ugent.be>:
>
> On 18/12/15 10:12, Lukasz Sokol wrote:
>>
>> I know FreePascal is not Linux, the Team is not Torvalds etc;)
>> but have you seen this ?
>>
>> https://lwn.net/Articles/233482/
>
>
> Maybe a "volatile" intrinsic, just like we already have an "unaligned"
intrinsic, would indeed be a better idea than adding the possibility to
mark data as volatile. As an extra plus, it would map directly onto LLVM :)
(which also only supports "volatile" as an attribute for load/store
instructions).

I've had the same thought when I read the article. :)

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20151219/228a73a2/attachment.html>


More information about the fpc-pascal mailing list