aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch10.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2011-08-29 16:40:11 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2011-08-29 16:40:11 +0200
commit226a7fa431fc3f9fd533abf6078a1aa9adb9a718 (patch)
treee32b257f259965d95e0d8e66ce84cc867c98918a /gcc/ada/sem_ch10.adb
parentdfbcb149aa59ef88a254489d2c3aa9c105562490 (diff)
downloadgcc-226a7fa431fc3f9fd533abf6078a1aa9adb9a718.zip
gcc-226a7fa431fc3f9fd533abf6078a1aa9adb9a718.tar.gz
gcc-226a7fa431fc3f9fd533abf6078a1aa9adb9a718.tar.bz2
[multiple changes]
2011-08-29 Robert Dewar <dewar@adacore.com> * sem_ch10.adb, a-coorse.adb, exp_dist.adb, exp_ch3.adb: Minor reformatting. * gcc-interface/Make-lang.in: Update dependencies. 2011-08-29 Yannick Moy <moy@adacore.com> * alfa.ads (Name_Of_Heap_Variable): New constant name. * lib-xref-alfa.adb, lib-xref.adb, lib-xref.ads (Drefs): New global table to hold dereferences. (Add_ALFA_Xrefs): Take into account dereferences as special reads/writes to the variable "HEAP". (Enclosing_Subprogram_Or_Package): Move subprogram here. (Generate_Dereference): New procedure to store a read/write dereferencew in the table Drefs. * put_alfa.adb (Put_ALFA): Use different default than (0,0) used for the special "HEAP" var. * sem_ch4.adb (Analyze_Explicit_Dereference): Store read dereference in ALFA mode. * sem_util.adb (Note_Possible_Modification): Store write dereference in ALFA mode. From-SVN: r178252
Diffstat (limited to 'gcc/ada/sem_ch10.adb')
-rw-r--r--gcc/ada/sem_ch10.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ada/sem_ch10.adb b/gcc/ada/sem_ch10.adb
index 2ab7084..ce7c9b3 100644
--- a/gcc/ada/sem_ch10.adb
+++ b/gcc/ada/sem_ch10.adb
@@ -5041,6 +5041,7 @@ package body Sem_Ch10 is
("instantiation depends on itself", Name (With_Clause));
elsif not Is_Visible_Child_Unit (Uname) then
+
-- Abandon processing in case of previous errors
if No (Scope (Uname)) then