From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15754 invoked by alias); 30 Nov 2007 16:57:36 -0000 Received: (qmail 15710 invoked by uid 48); 30 Nov 2007 16:57:23 -0000 Date: Fri, 30 Nov 2007 16:57:00 -0000 Message-ID: <20071130165723.15709.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug ada/34301] GNAT Bug detected: visibility In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "sam at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-11/txt/msg03065.txt.bz2 ------- 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