Fix unused warnings.
[official-gcc/graphite-test-results.git] / gcc / ada / tree_in.adb
blob200c566fba97463f3221d41c7f1599dd899e6ab3
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT COMPILER COMPONENTS --
4 -- --
5 -- T R E E _ I N --
6 -- --
7 -- B o d y --
8 -- --
9 -- Copyright (C) 1992-2010, Free Software Foundation, Inc. --
10 -- --
11 -- GNAT is free software; you can redistribute it and/or modify it under --
12 -- terms of the GNU General Public License as published by the Free Soft- --
13 -- ware Foundation; either version 3, or (at your option) any later ver- --
14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
15 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
16 -- or FITNESS FOR A PARTICULAR PURPOSE. --
17 -- --
18 -- As a special exception under Section 7 of GPL version 3, you are granted --
19 -- additional permissions described in the GCC Runtime Library Exception, --
20 -- version 3.1, as published by the Free Software Foundation. --
21 -- --
22 -- You should have received a copy of the GNU General Public License and --
23 -- a copy of the GCC Runtime Library Exception along with this program; --
24 -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
25 -- <http://www.gnu.org/licenses/>. --
26 -- --
27 -- GNAT was originally developed by the GNAT team at New York University. --
28 -- Extensive contributions were provided by Ada Core Technologies Inc. --
29 -- --
30 ------------------------------------------------------------------------------
32 with Aspects;
33 with Atree;
34 with Csets;
35 with Debug;
36 with Elists;
37 with Fname;
38 with Lib;
39 with Namet;
40 with Nlists;
41 with Opt;
42 with Repinfo;
43 with Sem_Aux;
44 with Sinput;
45 with Stand;
46 with Stringt;
47 with Tree_IO;
48 with Uintp;
49 with Urealp;
51 procedure Tree_In (Desc : File_Descriptor) is
52 begin
53 Tree_IO.Tree_Read_Initialize (Desc);
54 Opt.Tree_Read;
56 -- For now, only read aspect specifications hash table if -gnatd.A is set
58 if Debug.Debug_Flag_Dot_AA then
59 Aspects.Tree_Read;
60 end if;
62 Atree.Tree_Read;
63 Elists.Tree_Read;
64 Fname.Tree_Read;
65 Lib.Tree_Read;
66 Namet.Tree_Read;
67 Nlists.Tree_Read;
68 Sem_Aux.Tree_Read;
69 Sinput.Tree_Read;
70 Stand.Tree_Read;
71 Stringt.Tree_Read;
72 Uintp.Tree_Read;
73 Urealp.Tree_Read;
74 Repinfo.Tree_Read;
75 Csets.Initialize;
76 end Tree_In;