aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/lib.ads
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2019-12-12 10:01:46 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2019-12-12 10:01:46 +0000
commitc7732bbe382b982e60eb9d606752d012159d1a18 (patch)
treeb46451b99c25052df3b8ccbd71030bcd9f53c12f /gcc/ada/lib.ads
parenta1449c89b7272739d0ec32ad7ca4c53460337633 (diff)
downloadgcc-c7732bbe382b982e60eb9d606752d012159d1a18.zip
gcc-c7732bbe382b982e60eb9d606752d012159d1a18.tar.gz
gcc-c7732bbe382b982e60eb9d606752d012159d1a18.tar.bz2
[Ada] Mark Ada subprograms and variables referenced from gigi
2019-12-12 Eric Botcazou <ebotcazou@adacore.com> gcc/ada/ * atree.ads, comperr.ads, debug.ads, einfo.ads, elists.ads, err_vars.ads, errout.ads, exp_ch11.ads, exp_code.ads, exp_dbug.ads, exp_tss.ads, exp_util.ads, lib.ads, namet.ads, nlists.ads, opt.ads, repinfo.ads, restrict.ads, scos.ads, sem_aggr.ads, sem_aux.ads, sem_eval.ads, sem_util.ads, sinfo.ads, sinput.ads, stringt.ads, targparm.ads, types.ads, urealp.ads warnsw.ads: Add WARNING line(s) in commentary. * atree.h, elists.h, namet.h, nlists.h, repinfo.h, scos.h, stringt.h, types.h, uintp.h, urealp.h: Tidy up. * fe.h: Likewise. Document WARNING mark. From-SVN: r279278
Diffstat (limited to 'gcc/ada/lib.ads')
-rw-r--r--gcc/ada/lib.ads4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ada/lib.ads b/gcc/ada/lib.ads
index 7665f86..f20a18f 100644
--- a/gcc/ada/lib.ads
+++ b/gcc/ada/lib.ads
@@ -476,6 +476,8 @@ package Lib is
function Unit_Name (U : Unit_Number_Type) return Unit_Name_Type;
-- Get value of named field from given units table entry
+ -- WARNING: There is a matching C declaration of a few subprograms in fe.h
+
procedure Set_Cunit (U : Unit_Number_Type; N : Node_Id);
procedure Set_Cunit_Entity (U : Unit_Number_Type; E : Entity_Id);
procedure Set_Dynamic_Elab (U : Unit_Number_Type; B : Boolean := True);
@@ -617,6 +619,8 @@ package Lib is
-- the special case check to that routine. This avoids some difficulties
-- with some other calls that malfunctioned with the odd return of True.
+ -- WARNING: There is a matching C declaration of this subprogram in fe.h
+
function In_Extended_Main_Code_Unit (Loc : Source_Ptr) return Boolean;
-- Same function as above, but argument is a source pointer rather
-- than a node.