2018-05-21 Arnaud Charlet <charlet@adacore.com>
gcc/ada/
* exp_unst.adb (Unnest_Subprogram): Unnest all subprograms relevant for
code generation.
From-SVN: r260446
+2018-04-04 Arnaud Charlet <charlet@adacore.com>
+
+ * exp_unst.adb (Unnest_Subprogram): Unnest all subprograms relevant for
+ code generation.
+
2018-04-04 Piotr Trojanek <trojanek@adacore.com>
* lib.ads: Fix typo in enumeration in comment.
return;
end if;
- -- At least for now, do not unnest anything but main source unit
+ -- Only unnest when generating code for the main source unit
- if not In_Extended_Main_Source_Unit (Subp_Body) then
+ if not In_Extended_Main_Code_Unit (Subp_Body) then
return;
end if;
-- from level STJR.Lev to level STJE.Lev. The general form of
-- the rewritten reference for entity X is:
- -- Typ'Deref (ARECaF.ARECbU.ARECcU.ARECdU....ARECm.X)
+ -- Typ'Deref (ARECaF.ARECbU.ARECcU.ARECdU....ARECmU.X)
-- where a,b,c,d .. m =
-- STJR.Lev - 1, STJR.Lev - 2, .. STJE.Lev