This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/34301] GNAT Bug detected: visibility
- From: "sam at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2007 16:57:23 -0000
- Subject: [Bug ada/34301] GNAT Bug detected: visibility
- References: <bug-34301-15461@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from sam at gcc dot gnu dot org 2007-11-30 16:57 -------
As I said, there were a real problem, but it has already been fixed in GCC
4.3.0 which has not yet been released.
For what you are trying to achieve, you should rather declare X as
X : T_Type;
for X'Address use System.Storage_Elements.To_Address (50);
but this question should have been brought onto the comp.lang.ada newsgroup
instead of here :)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34301