annotate gcc/ada/tree_gen.adb @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 1830386684a0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ------------------------------------------------------------------------------
kono
parents:
diff changeset
2 -- --
kono
parents:
diff changeset
3 -- GNAT COMPILER COMPONENTS --
kono
parents:
diff changeset
4 -- --
kono
parents:
diff changeset
5 -- T R E E _ G E N --
kono
parents:
diff changeset
6 -- --
kono
parents:
diff changeset
7 -- B o d y --
kono
parents:
diff changeset
8 -- --
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
9 -- Copyright (C) 1992-2019, Free Software Foundation, Inc. --
111
kono
parents:
diff changeset
10 -- --
kono
parents:
diff changeset
11 -- GNAT is free software; you can redistribute it and/or modify it under --
kono
parents:
diff changeset
12 -- terms of the GNU General Public License as published by the Free Soft- --
kono
parents:
diff changeset
13 -- ware Foundation; either version 3, or (at your option) any later ver- --
kono
parents:
diff changeset
14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
kono
parents:
diff changeset
15 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
kono
parents:
diff changeset
16 -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
kono
parents:
diff changeset
17 -- for more details. You should have received a copy of the GNU General --
kono
parents:
diff changeset
18 -- Public License distributed with GNAT; see file COPYING3. If not, go to --
kono
parents:
diff changeset
19 -- http://www.gnu.org/licenses for a complete copy of the license. --
kono
parents:
diff changeset
20 -- --
kono
parents:
diff changeset
21 -- GNAT was originally developed by the GNAT team at New York University. --
kono
parents:
diff changeset
22 -- Extensive contributions were provided by Ada Core Technologies Inc. --
kono
parents:
diff changeset
23 -- --
kono
parents:
diff changeset
24 ------------------------------------------------------------------------------
kono
parents:
diff changeset
25
kono
parents:
diff changeset
26 with Aspects;
kono
parents:
diff changeset
27 with Atree;
kono
parents:
diff changeset
28 with Elists;
kono
parents:
diff changeset
29 with Fname;
kono
parents:
diff changeset
30 with Lib;
kono
parents:
diff changeset
31 with Namet;
kono
parents:
diff changeset
32 with Nlists;
kono
parents:
diff changeset
33 with Opt;
kono
parents:
diff changeset
34 with Osint.C;
kono
parents:
diff changeset
35 with Repinfo;
kono
parents:
diff changeset
36 with Sem_Aux;
kono
parents:
diff changeset
37 with Sinput;
kono
parents:
diff changeset
38 with Stand;
kono
parents:
diff changeset
39 with Stringt;
kono
parents:
diff changeset
40 with Uintp;
kono
parents:
diff changeset
41 with Urealp;
kono
parents:
diff changeset
42
kono
parents:
diff changeset
43 with Tree_In;
kono
parents:
diff changeset
44 pragma Warnings (Off, Tree_In);
kono
parents:
diff changeset
45 -- We do not use Tree_In in the compiler, but it is small, and worth including
kono
parents:
diff changeset
46 -- so that we get the proper license check for Tree_In when the compiler is
kono
parents:
diff changeset
47 -- built. This will avoid adding bad dependencies to Tree_In and blowing ASIS.
kono
parents:
diff changeset
48
kono
parents:
diff changeset
49 procedure Tree_Gen is
kono
parents:
diff changeset
50 begin
kono
parents:
diff changeset
51 if Opt.Tree_Output then
kono
parents:
diff changeset
52 Osint.C.Tree_Create;
kono
parents:
diff changeset
53
kono
parents:
diff changeset
54 Opt.Tree_Write;
kono
parents:
diff changeset
55 Atree.Tree_Write;
kono
parents:
diff changeset
56 Elists.Tree_Write;
kono
parents:
diff changeset
57 Fname.Tree_Write;
kono
parents:
diff changeset
58 Lib.Tree_Write;
kono
parents:
diff changeset
59 Namet.Tree_Write;
kono
parents:
diff changeset
60 Nlists.Tree_Write;
kono
parents:
diff changeset
61 Sem_Aux.Tree_Write;
kono
parents:
diff changeset
62 Sinput.Tree_Write;
kono
parents:
diff changeset
63 Stand.Tree_Write;
kono
parents:
diff changeset
64 Stringt.Tree_Write;
kono
parents:
diff changeset
65 Uintp.Tree_Write;
kono
parents:
diff changeset
66 Urealp.Tree_Write;
kono
parents:
diff changeset
67 Repinfo.Tree_Write;
kono
parents:
diff changeset
68 Aspects.Tree_Write;
kono
parents:
diff changeset
69
kono
parents:
diff changeset
70 Osint.C.Tree_Close;
kono
parents:
diff changeset
71 end if;
kono
parents:
diff changeset
72 end Tree_Gen;