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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cbd507df3efa824b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-02 17:39:14 PST Path: supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.frmt1.sfba.home.com.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Help with Atomic_Components and whole array assignment References: <95fbit$nen$2@usenet.rational.com> X-Newsreader: Tom's custom newsreader Message-ID: <5jJe6.46545$R5.2256599@news1.frmt1.sfba.home.com> Date: Sat, 03 Feb 2001 01:39:13 GMT NNTP-Posting-Host: 24.20.190.201 X-Complaints-To: abuse@home.net X-Trace: news1.frmt1.sfba.home.com 981164353 24.20.190.201 (Fri, 02 Feb 2001 17:39:13 PST) NNTP-Posting-Date: Fri, 02 Feb 2001 17:39:13 PST Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: supernews.google.com comp.lang.ada:4900 Date: 2001-02-03T01:39:13+00:00 List-Id: Suppose a compiler's target machine had a two-level memory architecture, wouldn't you expect a serious compiler to generate code using, in a reasonably decent way, the architecture? Suppose instead the target machine had two kinds of memory addresses: RAM and IO ports. Seems to me a serious compiler would know the difference and generate appropriate instructions for each. Code generation for a (non-existent) machine where all the addresses were RAM, would rightly be considered irrelevant.