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-Thread: 103376,dc1fff2721602dfa X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.89.133 with SMTP id bo5mr2000202wib.6.1359598988479; Wed, 30 Jan 2013 18:23:08 -0800 (PST) Path: bp2ni7298wib.1!nntp.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!us.feeder.erje.net!xmission!newsswitch.lcs.mit.edu!nntp.TheWorld.com!.POSTED!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Ada and string literals Date: Wed, 30 Jan 2013 21:23:08 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <4978d638-a04b-4561-85e9-cf6620265af2@googlegroups.com> <86boc63n5d.fsf@gaheris.avalon.lan> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 X-Trace: pcls6.std.com 1359598988 29908 192.74.137.71 (31 Jan 2013 02:23:08 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Thu, 31 Jan 2013 02:23:08 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:MgN13FThj1e1wZa2ADtD3JRA+Ug= Content-Type: text/plain; charset=us-ascii Date: 2013-01-30T21:23:08-05:00 List-Id: Jeffrey Carter writes: > On 01/30/2013 03:06 PM, Robert A Duff wrote: >> >> That won't work, because Literal1 = Literal2 must be False. >> If you leave out "aliased", then the compiler might share. > > I think there are some attributes missing here. Oops. Thanks! Yes, I meant that Literal1'Access = Literal2'Access must be False. Same for 'Unchecked_Access. '[Unchecked_]Access is about object identity. On the other hand 'Address is not -- two objects can have the same address without being the same object. - Bob