ASIS is now maintained on a separate branch, so newer compilers no
longer need to generate ASIS trees. First remove processing of -gnatt,
then in a second stage, we'll remove all associated code.

Tested on x86_64-pc-linux-gnu, committed on trunk

2020-06-03  Arnaud Charlet  <char...@adacore.com>

gcc/ada/

        * switch-c.adb (Scan_Front_End_Switches): Remove processing of
        -gnatt.
        * usage.adb (Usage): Remove mention of -gnatt.
--- gcc/ada/switch-c.adb
+++ gcc/ada/switch-c.adb
@@ -1250,13 +1250,6 @@ package body Switch.C is
                Print_Standard := True;
                Ptr := Ptr + 1;
 
-            --  -gnatt (output tree)
-
-            when 't' =>
-               Ptr := Ptr + 1;
-               Tree_Output := True;
-               Back_Annotate_Rep_Info := True;
-
             --  -gnatT (change start of internal table sizes)
 
             when 'T' =>

--- gcc/ada/usage.adb
+++ gcc/ada/usage.adb
@@ -418,11 +418,6 @@ begin
    Write_Switch_Char ("S");
    Write_Line ("Print listing of package Standard");
 
-   --  Line for -gnatt switch
-
-   Write_Switch_Char ("t");
-   Write_Line ("Tree output file to be generated");
-
    --  Line for -gnatTnn switch
 
    Write_Switch_Char ("Tnn");

Reply via email to