summaryrefslogtreecommitdiff
path: root/gcc/ada/exp_ch6.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-01 08:32:27 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-01 08:32:27 +0000
commitfc615d5ce7d35592d8d5d8b21fedcee8ef8cabdc (patch)
tree5b86d62bae106b36833d1a544810caf2e3427504 /gcc/ada/exp_ch6.adb
parent76bb84489d4d84ea7035c7f59b12e23cc8090240 (diff)
downloadgcc-fc615d5ce7d35592d8d5d8b21fedcee8ef8cabdc.tar.gz
2014-08-01 Arnaud Charlet <charlet@adacore.com>
* exp_vfpt.adb, exp_vfpt.ads: Removed, no longer used. * gcc-interface/Make-lang.in: Remove exp_vfpt.o 2014-08-01 Javier Miranda <miranda@adacore.com> * inline.ads (Inlined_Calls, Backend_Calls, Backend_Inlined_Subps, Backend_Not_Inlined_Subps): Declarations moved to inline.adb (Cannot_Inline): Update documentation. (Check_And_Build_Body_To_Inline): Renamed. (List_Inlining_Info): Subprogram moved here from package exp_ch6. * inline.adb (Check_Inlining_Restrictions): New local variable. (Inlined_Calls, Backend_Calls, Backend_Inlined_Subps, Backend_Not_Inlined_Subps): Declarations moved here from inline.ads (Number_Of_Statements): Removed. (Remove_Pragmas): Avoid duplicated version of this subprogram. (Build_Body_To_Inline): Code cleanup. (Build_Body_To_Inline.Has_Excluded_Statament): Removed. (Check_And_Build_Body_To_Inline): Renamed. Code cleanup. (Check_Body_To_Inline): Removed. (Generate_Body_To_Inline): Renamed as Generate_Subprogram_Body. (Has_Excluded_Declaration): No action if not Check_Inlining_Restrictions. (Has_Excluded_Statement): No action if not Check_Inlining_Restrictions. (Initialize): Initialize the lists of inlined calls and subprograms. (List_Inlining_Info): Subprogram moved here from package exp_ch6. * sem_ch6.adb (Analyze_Subprogram_Body_Helper): Update call to Check_And_Build_Body_To_Inline since it has been renamed as Check_And_Split_Unconstrained_Function * exp_ch6.ad[sb] (List_Inlining_Info): Subprogram moved to package inline. * gnat1drv.adb Update call to Inline.List_Inlining_Info. 2014-08-01 Vincent Celier <celier@adacore.com> * debug.adb: Add documentation for new debug switch -ds. * make.adb (List_Bad_Compilations): Do not issue any message when switch -ds is specified. * makeutl.adb (Fail_Program): Do not issue any message when -ds is specified. (Finish_Program): Ditto. 2014-08-01 Robert Dewar <dewar@adacore.com> * s-exnint.adb, s-exnint.ads, s-wwdwch.ads, s-carsi8.ads, s-casi32.ads, indepsw.adb, a-timoau.ads, s-explli.adb, s-explli.ads, s-casi16.ads, s-powtab.ads, g-wistsp.ads, a-ztmoau.adb, indepsw-gnu.adb, s-imgllb.ads, types.adb, gnat.ads, s-proinf.adb, indepsw-aix.adb, s-caun64.ads, s-imgllw.ads, s-traces-default.adb, s-vxwork-x86.ads, s-expllu.adb, s-exnlli.adb, s-exnlli.ads, s-traces.adb, widechar.ads, stand.adb, s-expint.adb, s-tratas-default.adb, s-expint.ads, s-geveop.ads, s-caun32.ads, s-expuns.adb, s-mantis.adb, s-mantis.ads, s-caun16.ads, s-tasinf.adb, s-memcop.ads, s-dsaser.ads, s-imgbiu.ads, a-szmzco.ads, g-strspl.ads, s-casi64.ads, g-zstspl.ads, indepsw-mingw.adb, tree_io.adb, s-boarop.ads, uname.ads, s-fore.adb, s-fore.ads, g-timsta.adb, g-timsta.ads, s-assert.adb, s-vector.ads, s-tratas.adb, s-tratas.ads: Minor fix to copyright notices. 2014-08-01 Eric Botcazou <ebotcazou@adacore.com> * sinfo.ads: Remove long obsolete comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213423 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/exp_ch6.adb')
-rw-r--r--gcc/ada/exp_ch6.adb137
1 files changed, 0 insertions, 137 deletions
diff --git a/gcc/ada/exp_ch6.adb b/gcc/ada/exp_ch6.adb
index c5a8b83a7b4..4550986fdd7 100644
--- a/gcc/ada/exp_ch6.adb
+++ b/gcc/ada/exp_ch6.adb
@@ -51,7 +51,6 @@ with Namet; use Namet;
with Nlists; use Nlists;
with Nmake; use Nmake;
with Opt; use Opt;
-with Output; use Output;
with Restrict; use Restrict;
with Rident; use Rident;
with Rtsfind; use Rtsfind;
@@ -69,7 +68,6 @@ with Sem_Res; use Sem_Res;
with Sem_SCIL; use Sem_SCIL;
with Sem_Util; use Sem_Util;
with Sinfo; use Sinfo;
-with Sinput; use Sinput;
with Snames; use Snames;
with Stand; use Stand;
with Stringt; use Stringt;
@@ -9647,139 +9645,4 @@ package body Exp_Ch6 is
end if;
end Needs_Result_Accessibility_Level;
- ------------------------
- -- List_Inlining_Info --
- ------------------------
-
- procedure List_Inlining_Info is
- Elmt : Elmt_Id;
- Nod : Node_Id;
- Count : Nat;
-
- begin
- if not Debug_Flag_Dot_J then
- return;
- end if;
-
- -- Generate listing of calls inlined by the frontend
-
- if Present (Inlined_Calls) then
- Count := 0;
- Elmt := First_Elmt (Inlined_Calls);
- while Present (Elmt) loop
- Nod := Node (Elmt);
-
- if In_Extended_Main_Code_Unit (Nod) then
- Count := Count + 1;
-
- if Count = 1 then
- Write_Str ("Listing of frontend inlined calls");
- Write_Eol;
- end if;
-
- Write_Str (" ");
- Write_Int (Count);
- Write_Str (":");
- Write_Location (Sloc (Nod));
- Write_Str (":");
- Output.Write_Eol;
- end if;
-
- Next_Elmt (Elmt);
- end loop;
- end if;
-
- -- Generate listing of calls passed to the backend
-
- if Present (Backend_Calls) then
- Count := 0;
-
- Elmt := First_Elmt (Backend_Calls);
- while Present (Elmt) loop
- Nod := Node (Elmt);
-
- if In_Extended_Main_Code_Unit (Nod) then
- Count := Count + 1;
-
- if Count = 1 then
- Write_Str ("Listing of inlined calls passed to the backend");
- Write_Eol;
- end if;
-
- Write_Str (" ");
- Write_Int (Count);
- Write_Str (":");
- Write_Location (Sloc (Nod));
- Output.Write_Eol;
- end if;
-
- Next_Elmt (Elmt);
- end loop;
- end if;
-
- -- Generate listing of subprograms passed to the backend
-
- if Present (Backend_Inlined_Subps)
- and then Back_End_Inlining
- then
- Count := 0;
-
- Elmt := First_Elmt (Backend_Inlined_Subps);
- while Present (Elmt) loop
- Nod := Node (Elmt);
-
- Count := Count + 1;
-
- if Count = 1 then
- Write_Str
- ("Listing of inlined subprograms passed to the backend");
- Write_Eol;
- end if;
-
- Write_Str (" ");
- Write_Int (Count);
- Write_Str (":");
- Write_Name (Chars (Nod));
- Write_Str (" (");
- Write_Location (Sloc (Nod));
- Write_Str (")");
- Output.Write_Eol;
-
- Next_Elmt (Elmt);
- end loop;
- end if;
-
- -- Generate listing of subprogram that cannot be inlined by the backend
-
- if Present (Backend_Not_Inlined_Subps)
- and then Back_End_Inlining
- then
- Count := 0;
-
- Elmt := First_Elmt (Backend_Not_Inlined_Subps);
- while Present (Elmt) loop
- Nod := Node (Elmt);
-
- Count := Count + 1;
-
- if Count = 1 then
- Write_Str
- ("Listing of subprograms that cannot inline the backend");
- Write_Eol;
- end if;
-
- Write_Str (" ");
- Write_Int (Count);
- Write_Str (":");
- Write_Name (Chars (Nod));
- Write_Str (" (");
- Write_Location (Sloc (Nod));
- Write_Str (")");
- Output.Write_Eol;
-
- Next_Elmt (Elmt);
- end loop;
- end if;
- end List_Inlining_Info;
-
end Exp_Ch6;