Remove some compile time warnings about duplicate definitions.
[official-gcc.git] / gcc / ada / sem_intr.ads
blob3576ffb2c66e2509ee1bba0e52fef4a8484dc913
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT COMPILER COMPONENTS --
4 -- --
5 -- S E M _ I N T R --
6 -- --
7 -- S p e c --
8 -- --
9 -- $Revision: 1.4 $ --
10 -- --
11 -- Copyright (C) 1992,1993,1994 Free Software Foundation, Inc. --
12 -- --
13 -- GNAT is free software; you can redistribute it and/or modify it under --
14 -- terms of the GNU General Public License as published by the Free Soft- --
15 -- ware Foundation; either version 2, or (at your option) any later ver- --
16 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
17 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
18 -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
19 -- for more details. You should have received a copy of the GNU General --
20 -- Public License distributed with GNAT; see file COPYING. If not, write --
21 -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
22 -- MA 02111-1307, USA. --
23 -- --
24 -- GNAT was originally developed by the GNAT team at New York University. --
25 -- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
26 -- --
27 ------------------------------------------------------------------------------
29 -- Processing for intrinsic subprogram declarations
31 with Types; use Types;
33 package Sem_Intr is
35 procedure Check_Intrinsic_Call (N : Node_Id);
36 -- Perform legality check for intrinsic call N (which is either function
37 -- call or a procedure call node). All the normal semantic checks have
38 -- been performed already. Check_Intrinsic_Call applies any additional
39 -- checks required by the fact that an intrinsic subprogram is involved.
41 procedure Check_Intrinsic_Subprogram (E : Entity_Id; N : Node_Id);
42 -- Special processing for pragma Import or pragma Interface when the
43 -- convention is Intrinsic. E is the Entity_Id of the spec of the
44 -- subprogram, and N is the second (subprogram) argument of the pragma.
45 -- Check_Intrinsic_Subprogram checks that the referenced subprogram is
46 -- known as an intrinsic and has an appropriate profile. If so the flag
47 -- Is_Intrinsic_Subprogram is set, otherwise an error message is posted.
49 end Sem_Intr;