DIP62: Volatile type qualifier for unoptimizable variables in embedded programming

Iain Buclaw via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 16 12:10:54 PDT 2014


On 16 July 2014 20:03, Iain Buclaw <ibuclaw at gdcproject.org> wrote:
> On 16 July 2014 19:58, Walter Bright via Digitalmars-d
> <digitalmars-d at puremagic.com> wrote:
>> On 7/16/2014 7:31 AM, Iain Buclaw via Digitalmars-d wrote:
>>>>
>>>> They are _trivial_ to implement for any of the compilers.
>>>
>>> No they aren't, unless you are talking specifically about volatile.,
>>>
>>> in which case, that depends...
>>
>>
>> If the compiler back end doesn't support volatile, then it's a problem
>> regardless of how the front end handles it, so the point is moot.
>>
>> In any case, the compiler front end can always implement an intrinsic by
>> just calling a function.
>>
>>
>
> I was thinking:
> http://bugzilla.gdcproject.org/show_bug.cgi?id=84

By the way, it's 'so-called' bugs like this that make we want to
remove any notion of volatile from shared.

Regards
Iain


More information about the Digitalmars-d mailing list