From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c78177ec2e61f4ac X-Google-Attributes: gid103376,public From: kenner@lab.ultra.nyu.edu (Richard Kenner) Subject: Re: ada and robots Date: 1997/06/23 Message-ID: <5ollh0$el9$1@news.nyu.edu>#1/1 X-Deja-AN: 252013692 References: <97061611223212@psavax.pwfl.com> Organization: New York University Ultracomputer Research Lab Newsgroups: comp.lang.ada Date: 1997-06-23T00:00:00+00:00 List-Id: In article dewar@merv.cs.nyu.edu (Robert Dewar) writes: >For my taste, I rarely like the idea of using address clauses or the >corresponding casts in C for this purpose. This is perhaps a case where the casts in C are more portable. If you write * ((volatile long *) some_address) |= some_expression; it would be quite peculiar (and perhaps even be considered a bug) if the compiler didn't respect the "long" type and generate the correspondingly sized load and store instructions.