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

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Dec 19 14:18:53 CET 2015


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).


Jonas



More information about the fpc-pascal mailing list