OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [ada/] [tree_gen.adb] - Blame information for rev 308

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 281 jeremybenn
------------------------------------------------------------------------------
2
--                                                                          --
3
--                         GNAT COMPILER COMPONENTS                         --
4
--                                                                          --
5
--                             T R E E _ G E N                              --
6
--                                                                          --
7
--                                 B o d y                                  --
8
--                                                                          --
9
--          Copyright (C) 1992-2008, 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.  See the GNU General Public License --
17
-- for  more details.  You should have  received  a copy of the GNU General --
18
-- Public License  distributed with GNAT; see file COPYING3.  If not, go to --
19
-- http://www.gnu.org/licenses for a complete copy of the license.          --
20
--                                                                          --
21
-- GNAT was originally developed  by the GNAT team at  New York University. --
22
-- Extensive contributions were provided by Ada Core Technologies Inc.      --
23
--                                                                          --
24
------------------------------------------------------------------------------
25
 
26
with Atree;
27
with Elists;
28
with Fname;
29
with Lib;
30
with Namet;
31
with Nlists;
32
with Opt;
33
with Osint.C;
34
with Repinfo;
35
with Sem_Aux;
36
with Sinput;
37
with Stand;
38
with Stringt;
39
with Uintp;
40
with Urealp;
41
 
42
with Tree_In;
43
pragma Warnings (Off, Tree_In);
44
--  We do not use Tree_In in the compiler, but it is small, and worth including
45
--  so that we get the proper license check for Tree_In when the compiler is
46
--  built. This will avoid adding bad dependencies to Tree_In and blowing ASIS.
47
 
48
procedure Tree_Gen is
49
begin
50
   if Opt.Tree_Output then
51
      Osint.C.Tree_Create;
52
      Opt.Tree_Write;
53
      Atree.Tree_Write;
54
      Elists.Tree_Write;
55
      Fname.Tree_Write;
56
      Lib.Tree_Write;
57
      Namet.Tree_Write;
58
      Nlists.Tree_Write;
59
      Sem_Aux.Tree_Write;
60
      Sinput.Tree_Write;
61
      Stand.Tree_Write;
62
      Stringt.Tree_Write;
63
      Uintp.Tree_Write;
64
      Urealp.Tree_Write;
65
      Repinfo.Tree_Write;
66
      Osint.C.Tree_Close;
67
   end if;
68
end Tree_Gen;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.