diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2017-01-13 11:54:43 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2017-01-13 11:54:43 +0100 |
commit | 354ae44943ca7642d2f3a48ca428bfb5df2e0049 (patch) | |
tree | f029b95ac27175fee7062ad81282fdb79d0f388a /gcc/ada/bindgen.ads | |
parent | 448a1eb3eb4357dcdd1e2271e267bedb0c4b7d6c (diff) | |
download | gcc-354ae44943ca7642d2f3a48ca428bfb5df2e0049.zip gcc-354ae44943ca7642d2f3a48ca428bfb5df2e0049.tar.gz gcc-354ae44943ca7642d2f3a48ca428bfb5df2e0049.tar.bz2 |
[multiple changes]
2017-01-13 Javier Miranda <miranda@adacore.com>
* einfo.ads (Component_Bit_Offset): Fix documentation.
* sem_ch13.adb (Check_Record_Representation_Clause): Skip check
on record holes for components with unknown compile-time offsets.
2017-01-13 Bob Duff <duff@adacore.com>
* ali.ads, ali.adb (Static_Elaboration_Model_Used): Remove unused flag.
* g-locfil.ads: Minor comment fix.
2017-01-13 Bob Duff <duff@adacore.com>
* binde.adb (Elab_New): New elaboration order algorithm
that is expected to cause fewer ABE issues. This is a work in
progress. The new algorithm is currently disabled, and can be
enable by the -dp switch, or by modifying the Do_Old and Do_New
etc. flags and rebuilding. Experimental code is included to
compare the results of the old and new algorithms.
* binde.ads: Use GNAT.Dynamic_Tables instead of Table, so we
can have multiple of these tables, so the old and new algorithms
can coexist.
* bindgen.ads (Gen_Output_File): Pass Elab_Order as an 'in'
parameter of type array. This avoids the global variable, and
allows bounds checking (which is normally defeated by the tables
packages). It also ensures that the Elab_Order is read-only
to Bindgen.
* bindgen.adb: Pass Elab_Order as an 'in' parameter to all
subprograms that need it, as above.
* debug.adb: Document new -dp switch. Modify doc of old -do
switch.
* gnatbind.adb (Gnatbind): Make use of new interfaces to Binde
and Bindgen. Move writing of closure (-R and -Ra switches)
to Binde; that's more convenient.
2017-01-13 Ed Schonberg <schonberg@adacore.com>
* sem_ch6.adb (Analyze_Expression_Function): If the expression
function is a completion, all entities referenced in the
expression are frozen. As a consequence, a reference to an
uncompleted private type from an enclosing scope is illegal.
From-SVN: r244419
Diffstat (limited to 'gcc/ada/bindgen.ads')
-rw-r--r-- | gcc/ada/bindgen.ads | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ada/bindgen.ads b/gcc/ada/bindgen.ads index 2f4cc78..070c7fc 100644 --- a/gcc/ada/bindgen.ads +++ b/gcc/ada/bindgen.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 1992-2015, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2016, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -32,9 +32,13 @@ -- See the body for exact details of the file that is generated +with Binde; use Binde; + package Bindgen is - procedure Gen_Output_File (Filename : String); + procedure Gen_Output_File + (Filename : String; + Elab_Order : Unit_Id_Array); -- Filename is the full path name of the binder output file procedure Set_Bind_Env (Key, Value : String); |