aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/binde.adb
diff options
context:
space:
mode:
authorRobert Dewar <dewar@adacore.com>2014-08-01 08:17:20 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2014-08-01 10:17:20 +0200
commitea0c8cfb98bc575325f35f4798b2c657f4497e5e (patch)
treef67b75102f9fc406e9089148d3ba4caef87238c7 /gcc/ada/binde.adb
parent62883e6b17b85341fbc9b35c51bc076d39dcec23 (diff)
downloadgcc-ea0c8cfb98bc575325f35f4798b2c657f4497e5e.zip
gcc-ea0c8cfb98bc575325f35f4798b2c657f4497e5e.tar.gz
gcc-ea0c8cfb98bc575325f35f4798b2c657f4497e5e.tar.bz2
gnatchop.adb, [...]: Minor reformatting.
2014-08-01 Robert Dewar <dewar@adacore.com> * gnatchop.adb, gnatcmd.adb, make.adb, mlib-prj.adb, bindgen.adb, mlib.ads, butil.adb, clean.adb, binde.adb, gnatls.adb, gnatname.adb, osint.adb, krunch.adb: Minor reformatting. 2014-08-01 Robert Dewar <dewar@adacore.com> * inline.adb, inline.ads, fe.h, einfo.adb, einfo.ads, sem_util.adb, sem_util.ads, exp_ch4.adb, exp_ch11.adb, exp_ch6.adb, cstand.adb, sem_mech.adb, sem_ch6.adb, sem_ch8.adb, sem_ch11.adb, snames.ads-tmpl: Remove VMS-specific code. From-SVN: r213414
Diffstat (limited to 'gcc/ada/binde.adb')
-rw-r--r--gcc/ada/binde.adb7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/ada/binde.adb b/gcc/ada/binde.adb
index f22e53b..6c43ab8 100644
--- a/gcc/ada/binde.adb
+++ b/gcc/ada/binde.adb
@@ -1085,8 +1085,7 @@ package body Binde is
-- Output warning if -p used with no -gnatE units
- if Pessimistic_Elab_Order
- and not Dynamic_Elaboration_Checks_Specified
+ if Pessimistic_Elab_Order and not Dynamic_Elaboration_Checks_Specified
then
Error_Msg ("?use of -p switch questionable");
Error_Msg ("?since all units compiled with static elaboration model");
@@ -1105,7 +1104,6 @@ package body Binde is
-- Initialize the no predecessor list
No_Pred := No_Unit_Id;
-
for U in UNR.First .. UNR.Last loop
if UNR.Table (U).Num_Pred = 0 then
UNR.Table (U).Nextnp := No_Pred;
@@ -1216,8 +1214,7 @@ package body Binde is
-- interfaces to stand-alone libraries.
if not Units.Table (U).SAL_Interface then
- for
- W in Units.Table (U).First_With .. Units.Table (U).Last_With
+ for W in Units.Table (U).First_With .. Units.Table (U).Last_With
loop
if Withs.Table (W).Sfile /= No_File
and then (not Withs.Table (W).SAL_Interface)