------- Comment #2 from tomas at cernaj dot de 2007-11-30 16:53 ------- Subject: Re: GNAT Bug detected: visibility
> 29. X : constant access T_Type := TA.To_Pointer (50); [...] > You have to use "System.Storage_Elements.To_Address (50)" here. Hmm, thank you for the quick response, but the problem persists anyway... As I mentioned it compiles alright when moving the declaration into the public part of the spec (i.e. not deferred). Am I missing a point or is this indeed a valid construct? (I want the compiler to optimize an access to a fixed memory location.) Tomas -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34301