aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/usage.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2010-10-12 13:00:42 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2010-10-12 13:00:42 +0200
commitbeacce027435fb068f0edcb0a0e094ab6630ff01 (patch)
tree7e0cd7e0a9942df3ea3c59ba7deec6900d9f0a80 /gcc/ada/usage.adb
parenta4feaa716751d9755b7c0420cd8845089c6d6d3a (diff)
downloadgcc-beacce027435fb068f0edcb0a0e094ab6630ff01.zip
gcc-beacce027435fb068f0edcb0a0e094ab6630ff01.tar.gz
gcc-beacce027435fb068f0edcb0a0e094ab6630ff01.tar.bz2
[multiple changes]
2010-10-12 Robert Dewar <dewar@adacore.com> * gnat_rm.texi: Clarify that 'Old can be used in preconditions and postcondition pragmas. 2010-10-12 Robert Dewar <dewar@adacore.com> * errout.ads, erroutc.adb: The # insertion now handles from in place of at. * exp_prag.adb (Expand_Pragma_Check): Suppress generated default message if new switch Exception_Locations_Suppressed is set. (Expand_Pragma_Check): Revised wording for default message for case of precondition or postcondition. * namet.ads, namet.adb (Build_Location_String): New procedure. * opt.ads (List_Inherited_Pre_Post): New flag. * sem_ch12.adb (Analyze_Generic_Subprogram_Declaration): Add call to list inherited pre/post aspects. * sem_ch13.adb (Analyze_Aspect_Specification): Improve generation of messages for precondition/postcondition cases. * sem_ch6.adb (Process_PPCs): General cleanup, and list inherited PPC's if flag List_Inherited_Pre_Post is set True. (Process_PPCs): Add initial handling for inherited preconditions (List_Inherited_Pre_Post_Aspects): New procedure * sem_ch6.ads (List_Inherited_Pre_Post_Aspects): New procedure * sem_disp.adb (Inherited_Subprograms): New function * sem_disp.ads (Inherited_Subprograms): New function * sem_prag.adb (Check_Duplicate_Pragma): Clean up handling of pre/postcondition. (Check_Precondition_Postcondition): Check for inherited aspects * sem_warn.adb: Process -gnatw.l/w.L setting List_Inherited_Pre_Post * sinfo.ads, sinfo.adb (Split_PPC): New flag. * sinput.ads, sinput.adb (Build_Location_String): New function. * usage.adb: Add line for -gnatw.l/-gnatw.L 2010-10-12 Javier Miranda <miranda@adacore.com> * exp_util.adb (Remove_Side_Effects): Remove wrong code. 2010-10-12 Arnaud Charlet <charlet@adacore.com> * xref_lib.adb: Add handling of j/J letters. From-SVN: r165361
Diffstat (limited to 'gcc/ada/usage.adb')
-rw-r--r--gcc/ada/usage.adb4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ada/usage.adb b/gcc/ada/usage.adb
index 2d23a57..6ad0ef5 100644
--- a/gcc/ada/usage.adb
+++ b/gcc/ada/usage.adb
@@ -438,6 +438,10 @@ begin
"elaboration pragma");
Write_Line (" L* turn off warnings for missing " &
"elaboration pragma");
+ Write_Line (" .l* turn on info messages for inherited pre/" &
+ "postconditions");
+ Write_Line (" .L turn off info messages for inherited pre/" &
+ "postconditions");
Write_Line (" m+ turn on warnings for variable assigned " &
"but not read");
Write_Line (" M* turn off warnings for variable assigned " &