From: Samuel Tardieu <sam@rfc1149.net>
To: Olivier Hainque <hainque@adacore.com>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] ada: Remove changes to a-tasatt.adb
Date: Tue, 13 Nov 2007 15:15:00 -0000 [thread overview]
Message-ID: <2007-11-13-15-14-03+trackit+sam@rfc1149.net> (raw)
In-Reply-To: <2007-11-13-14-53-09+trackit+sam@rfc1149.net>
On 13/11, Samuel Tardieu wrote:
| Fair enough, I will add one at the beginning of a-tasatt.adb.
Done, checked in as trivial comment patch.
Index: gcc/ada/ChangeLog
===================================================================
--- gcc/ada/ChangeLog (revision 130138)
+++ gcc/ada/ChangeLog (working copy)
@@ -1,3 +1,9 @@
+2007-11-13 Samuel Tardieu <sam@rfc1149.net>
+
+ * a-tasatt.adb: Add a comment at the beginning of the package
+ explaining why in general 'Unchecked_Access must be used instead
+ of 'Access.
+
2007-11-10 Samuel Tardieu <sam@rfc1149.net>
* a-tasatt.adb: Revert previous change for this file as it will
Index: gcc/ada/a-tasatt.adb
===================================================================
--- gcc/ada/a-tasatt.adb (revision 130138)
+++ gcc/ada/a-tasatt.adb (working copy)
@@ -217,6 +217,10 @@
-- "passed" in via access discriminants. GNAT was having trouble with access
-- discriminants, so all this work was moved to the package body.
+-- Note that references to objects declared in this package body must in
+-- general use 'Unchecked_Access instead of 'Access as the package can be
+-- instantiated from within a local context.
+
with System.Error_Reporting;
-- Used for Shutdown;
next prev parent reply other threads:[~2007-11-13 14:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-11 9:26 Samuel Tardieu
2007-11-13 14:09 ` Olivier Hainque
2007-11-13 14:15 ` Samuel Tardieu
2007-11-13 15:11 ` Olivier Hainque
2007-11-13 15:15 ` Samuel Tardieu [this message]
2007-11-13 15:27 ` Olivier Hainque
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2007-11-13-15-14-03+trackit+sam@rfc1149.net \
--to=sam@rfc1149.net \
--cc=gcc-patches@gcc.gnu.org \
--cc=hainque@adacore.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).