summaryrefslogtreecommitdiff
path: root/gcc/ada/exp_dist.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-22 14:51:40 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-22 14:51:40 +0000
commit55e8372b4664ca118f73b513edcfa2addd440949 (patch)
tree38cfcc39f78d32f0add42722075410891f22b133 /gcc/ada/exp_dist.adb
parent99911ab198ba2df7a15d7516654cb8b5d55dcaa6 (diff)
downloadgcc-55e8372b4664ca118f73b513edcfa2addd440949.tar.gz
2010-10-22 Ben Brosgol <brosgol@adacore.com>
* gnat_rm.texi: Add chapter on Ada 2012 support. 2010-10-22 Robert Dewar <dewar@adacore.com> * sem_ch12.adb: Minor reformatting. 2010-10-22 Thomas Quinot <quinot@adacore.com> * exp_dist.adb: Mark missing case of nested package when expanding stubs. 2010-10-22 Ed Schonberg <schonberg@adacore.com> * par-ch10.adb: Discard incomplete with_clause. 2010-10-22 Robert Dewar <dewar@adacore.com> * checks.adb (Enable_Range_Check): Remove code suppressing range check if static predicate present, not needed. * exp_attr.adb (Expand_Pred_Succ): Check Suppress_Assignment_Checks flag * exp_ch3.adb (Expand_N_Object_Declaration): Check Suppress_Assignment_Checks flag. * exp_ch4.adb (Expand_N_In): Make some corrections for proper handling of ranges when predicates are present. * exp_ch5.adb (Expand_Predicated_Loop): New procedure (Expand_N_Assignment_Statement): Check Suppress_Assignment_Checks flag (Expand_N_Loop_Statement): Handle loops over predicated types * sem_case.adb (Analyze_Choices): Remove extra blank in error message. * sem_ch13.adb (Build_Predicate_Function.Add_Call): Suppress info message for inheritance if within a generic instance, not useful there! (Build_Static_Predicate): Optimize test in predicate function based on static ranges determined. * sem_ch5.adb (Analyze_Iteration_Scheme): Error for loop through subtype with non-static predicate. * sinfo.ads, sinfo.adb (Suppress_Assignment_Checks): New flag. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165834 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/exp_dist.adb')
-rw-r--r--gcc/ada/exp_dist.adb6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ada/exp_dist.adb b/gcc/ada/exp_dist.adb
index ea105f0437e..fb91ce7a47a 100644
--- a/gcc/ada/exp_dist.adb
+++ b/gcc/ada/exp_dist.adb
@@ -986,6 +986,8 @@ package body Exp_Dist is
Current_Subprogram_Number := Current_Subprogram_Number + 1;
end if;
+ -- Need to handle the case of nested packages???
+
Next (Current_Declaration);
end loop;
end Add_Calling_Stubs_To_Declarations;
@@ -3916,6 +3918,8 @@ package body Exp_Dist is
Current_Subprogram_Number := Current_Subprogram_Number + 1;
end if;
+ -- Need to handle case of a nested package???
+
Next (Current_Declaration);
end loop;
@@ -6903,6 +6907,8 @@ package body Exp_Dist is
Current_Subprogram_Number := Current_Subprogram_Number + 1;
end if;
+ -- Need to handle case of a nested package???
+
Next (Current_Declaration);
end loop;