This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] ada: Remove changes to a-tasatt.adb


On 13/11, Olivier Hainque wrote:

| Samuel Tardieu wrote:
| > The latest changes made to a-tasatt.adb caused a bug when the generic
| > package Ada.Task_Attributes was instantiated in a local context.
| 
| > I checked in the following patch which reverts parts of my previous
| > commit changing 'Unchecked_Access into 'Access. The other bits were
| > fine.
| 
|  Humm, that ground for the use of 'Unchecked_Access is not obvious and
|  I think would deserve a comment. Could you please add one ?

Fair enough, I will add one at the beginning of a-tasatt.adb.

|  And how did your recently suggested warning circuitry behave on
|  this case ?

I will submit a new version of the patch which doesn't add the warning
when compiling a generic and some minor changes we've discussed with
Robert. I'll do that later today or tomorrow.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]