diff options
Diffstat (limited to 'gcc/ada/s-tataat.ads')
-rw-r--r-- | gcc/ada/s-tataat.ads | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ada/s-tataat.ads b/gcc/ada/s-tataat.ads index 8893cdacf46..622e0ebee59 100644 --- a/gcc/ada/s-tataat.ads +++ b/gcc/ada/s-tataat.ads @@ -7,7 +7,7 @@ -- S p e c -- -- -- -- Copyright (C) 1991-1994, Florida State University -- --- Copyright (C) 1995-2003, Ada Core Technologies -- +-- Copyright (C) 1995-2004, Ada Core Technologies -- -- -- -- GNARL is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -50,6 +50,11 @@ package System.Tasking.Task_Attributes is type Access_Node is access all Node; -- This needs comments ??? + function To_Access_Node is new Unchecked_Conversion + (Access_Address, Access_Node); + -- Used to fetch pointer to indirect attribute list. Declaration is + -- in spec to avoid any problems with aliasing assumptions. + type Dummy_Wrapper; type Access_Dummy_Wrapper is access all Dummy_Wrapper; for Access_Dummy_Wrapper'Storage_Size use 0; |