Commit 27785539 by Arnaud Charlet Committed by Pierre-Marie de Rodat

[Ada] Refine previous change for -gnatn and LLVM

2019-09-18  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

	* exp_unst.adb (Unnest_Subprograms): Refine previous change.

From-SVN: r275837
parent ad4644f3
2019-09-18 Arnaud Charlet <charlet@adacore.com>
* exp_unst.adb (Unnest_Subprograms): Refine previous change.
2019-09-17 Claire Dross <dross@adacore.com> 2019-09-17 Claire Dross <dross@adacore.com>
* libgnat/a-cofuma.ads, libgnat/a-cofuma.adb (Remove): New * libgnat/a-cofuma.ads, libgnat/a-cofuma.adb (Remove): New
......
...@@ -2592,9 +2592,9 @@ package body Exp_Unst is ...@@ -2592,9 +2592,9 @@ package body Exp_Unst is
then then
Subp_Body := Parent (Declaration_Node Subp_Body := Parent (Declaration_Node
(Corresponding_Body (Subp_Body))); (Corresponding_Body (Subp_Body)));
Unnest_Subprogram (Subp, Subp_Body, For_Inline => True);
end if; end if;
Unnest_Subprogram (Subp, Subp_Body, For_Inline => True);
Next_Inlined_Subprogram (Subp); Next_Inlined_Subprogram (Subp);
end loop; end loop;
end Unnest_Subprograms; end Unnest_Subprograms;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment