This is the mail archive of the gcc@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]

Ada standard elaboration order


Just an old newbie question.

when I look at the elaboration order generated by gnatbind for the standard libraries I get the following:


... system.soft_links (spec) system.soft_links (body) ... ada.exceptions (body) ...

but the body of soft_links contains

   Ada.Exceptions.Save_Occurrence
     (NT_TSD.Current_Excep, Ada.Exceptions.Null_Occurrence);

So how can the body of system.soft_links be elaborated prior to the body of ada.exceptions since it is dependent on it?

Is my understanding flawed?
chris


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