From ba2034610fcc0d56dd52cb20c26f9ab1997b520e Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Wed, 1 Jan 2020 15:19:05 -0500 Subject: [Ada] Remove ASIS tree generation 2020-06-03 Arnaud Charlet gcc/ada/ * aspects.adb, aspects.ads, atree.adb, atree.ads, elists.adb, elists.ads, fname.adb, fname.ads, gnat1drv.adb, lib.adb, lib.ads, namet.adb, namet.ads, nlists.adb, nlists.ads, opt.adb, opt.ads, osint-c.adb, osint-c.ads, repinfo.adb, repinfo.ads, sem_aux.adb, sem_aux.ads, sinput.adb, sinput.ads, stand.ads, stringt.adb, stringt.ads, switch-c.adb, table.adb, table.ads, uintp.adb, uintp.ads, urealp.adb, urealp.ads (Tree_Read, Tree_Write): Remove generation of ASIS trees. * doc/gnat_ugn/building_executable_programs_with_gnat.rst: Remove -gnatt and -gnatct documentation. * gnat_ugn.texi: Regenerate. * tree_in.ads, tree_in.adb, tree_io.ads, tree_io.adb, tree_gen.ads, tree_gen.adb, stand.adb: Remove. * gcc-interface/Makefile.in, gcc-interface/Make-lang.in: Remove references to tree_gen.o tree_in.o tree_io.o. --- .../building_executable_programs_with_gnat.rst | 33 ---------------------- 1 file changed, 33 deletions(-) (limited to 'gcc/ada/doc') diff --git a/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst b/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst index 7f5dabe..368cb86 100644 --- a/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst +++ b/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst @@ -1910,10 +1910,6 @@ Alphabetical List of All Switches Note that this option should be used only for compiling -- the code is likely to malfunction at run time. - Note that when :switch:`-gnatct` is used to generate trees for input - into ASIS tools, these representation clauses are removed - from the tree and ignored. This means that the tool will not see them. - .. index:: -gnatjnn (gcc) @@ -2112,12 +2108,6 @@ Alphabetical List of All Switches Print package Standard. -.. index:: -gnatt (gcc) - -:switch:`-gnatt` - Generate tree output file. - - .. index:: -gnatT (gcc) :switch:`-gnatT{nnn}` @@ -2600,14 +2590,6 @@ format: implies :switch:`-gnatq`, since the semantic phase must be run to get a meaningful ALI file. - In addition, if :switch:`-gnatt` is also specified, then the tree file is - generated even if there are illegalities. It may be useful in this case - to also specify :switch:`-gnatq` to ensure that full semantic processing - occurs. The resulting tree file can be processed by ASIS, for the purpose - of providing partial information about illegal units, but if the error - causes the tree to be badly malformed, then ASIS may crash during the - analysis. - When :switch:`-gnatQ` is used and the generated :file:`ALI` file is marked as being in error, ``gnatmake`` will attempt to recompile the source when it finds such an :file:`ALI` file, including with switch :switch:`-gnatc`. @@ -5695,21 +5677,6 @@ Subprogram Inlining Control Auxiliary Output Control ------------------------ -.. index:: -gnatt (gcc) -.. index:: Writing internal trees -.. index:: Internal trees, writing to file - -:switch:`-gnatt` - Causes GNAT to write the internal tree for a unit to a file (with the - extension :file:`.adt`. - This not normally required, but is used by separate analysis tools. - Typically - these tools do the necessary compilations automatically, so you should - not have to specify this switch in normal operation. - Note that the combination of switches :switch:`-gnatct` - generates a tree in the form required by ASIS applications. - - .. index:: -gnatu (gcc) :switch:`-gnatu` -- cgit v1.1