diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-24 14:35:21 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-24 14:35:21 +0000 |
commit | 448545d4cb3b7de4837201b32876908a2fb8e9be (patch) | |
tree | fb3fc87fa6c935ed02ccd6b3f65c3a662b29c471 /gcc/ada/lib-load.adb | |
parent | 89d3406ff9d729616d18ab158049fe4c5df73147 (diff) | |
download | gcc-448545d4cb3b7de4837201b32876908a2fb8e9be.tar.gz |
2009-04-24 Emmanuel Briot <briot@adacore.com>
* prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, clean.adb,
prj-nmsc.adb, prj-env.adb (Project_List_Table, Project_Element):
removed. Lists of projects are now implemented via standard malloc
rather than through the table.
2009-04-24 Thomas Quinot <quinot@adacore.com>
* sem_ch12.adb: Minor reformatting
* g-trasym.adb: Minor reformatting
* exp_ch6.adb: Minor reformatting
2009-04-24 Robert Dewar <dewar@adacore.com>
* layout.adb (Layout_Type): For packed array type, copy unset
size/alignment fields from the referenced Packed_Array_Type.
2009-04-24 Bob Duff <duff@adacore.com>
* lib-load.adb (Make_Instance_Unit): Revert previous change, no
longer needed after sem_ch12 changes.
* sem.adb (Walk_Library_Items): Include with's in some debugging
printouts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146727 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/lib-load.adb')
-rw-r--r-- | gcc/ada/lib-load.adb | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/gcc/ada/lib-load.adb b/gcc/ada/lib-load.adb index 43a39dc8a1e..1d0c2d4e79d 100644 --- a/gcc/ada/lib-load.adb +++ b/gcc/ada/lib-load.adb @@ -812,16 +812,7 @@ package body Lib.Load is -- units table when first loaded as a declaration. Units.Table (Units.Last) := Units.Table (Get_Cunit_Unit_Number (N)); - - -- The correct Cunit is the spec -- Library_Unit (N). But that causes - -- gnatmake to fail in certain cases, so this is under control of - -- Inspector_Mode for now. ??? - - if Inspector_Mode then - Units.Table (Units.Last).Cunit := Library_Unit (N); - else - Units.Table (Units.Last).Cunit := N; - end if; + Units.Table (Units.Last).Cunit := Library_Unit (N); end if; end Make_Instance_Unit; |