aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/usage.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2014-07-16 16:33:11 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2014-07-16 16:33:11 +0200
commit3f1bc2cf467b4b05d02a51c74947f39099749cde (patch)
tree56f2a46c5385f462155fe01b0bdcb4519cc7ea8a /gcc/ada/usage.adb
parentb07b7acecfd5b064a30b15b4767401ff56a60da7 (diff)
downloadgcc-3f1bc2cf467b4b05d02a51c74947f39099749cde.zip
gcc-3f1bc2cf467b4b05d02a51c74947f39099749cde.tar.gz
gcc-3f1bc2cf467b4b05d02a51c74947f39099749cde.tar.bz2
[multiple changes]
2014-07-16 Robert Dewar <dewar@adacore.com> * sem_ch3.adb, sem_prag.adb, sem_util.adb, sem_res.adb, sem_ch13.adb: Minor code reorganization (use Is_Access_Type, not in Access_Kind). * exp_ch3.adb: Minor code reorganization, use Is_Access_Type, not in Access_Kind. * par-ch4.adb (At_Start_Of_Attribute): New function (P_Simple_Expression): Better msg for bad attribute prefix. * scans.ads: Minor reformatting. 2014-07-16 Ed Schonberg <schonberg@adacore.com> * sem_attr.adb (Resolve_Attribute, case 'Update): If choice is a static constant, check that in belongs to the corresponding index subtype, to produce the proer warning when expansion is disabled. 2014-07-16 Robert Dewar <dewar@adacore.com> * freeze.adb (Freeze_Entity): Warn on incompatible size/alignment. * gnat_ugn.texi: Document -gnatw.z and -gnatw.Z. * ug_words: VMS synonyms (WARNINGS=[NO]SIZE_ALIGN) for -gnatw.z/-gnatw.Z * usage.adb: Add lines for -gnatw.z/-gnatw.Z. * vms_data.ads: VMS synonyms (WARNINGS=[NO]SIZE_ALIGN) for -gnatw.z/-gnatw.Z * warnsw.adb: Set Warn_On_Size_Alignment appropriately. * warnsw.ads (Warn_On_Size_Alignment): New flag Minor reformatting. From-SVN: r212656
Diffstat (limited to 'gcc/ada/usage.adb')
-rw-r--r--gcc/ada/usage.adb6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/usage.adb b/gcc/ada/usage.adb
index 4516bb2..806675f 100644
--- a/gcc/ada/usage.adb
+++ b/gcc/ada/usage.adb
@@ -503,7 +503,7 @@ begin
Write_Line (" F* turn off warnings for unreferenced formal");
Write_Line (" g*+ turn on warnings for unrecognized pragma");
Write_Line (" G turn off warnings for unrecognized pragma");
- Write_Line (" .g turn on GNAT warnings, same as Aao.sI.C.V.X");
+ Write_Line (" .g turn on GNAT warnings");
Write_Line (" h turn on warnings for hiding declarations");
Write_Line (" H* turn off warnings for hiding declarations");
Write_Line (" .h turn on warnings for holes in records");
@@ -589,6 +589,10 @@ begin
"unchecked conversion");
Write_Line (" Z turn off warnings for suspicious " &
"unchecked conversion");
+ Write_Line (" .z*+ turn on warnings for record size not a " &
+ "multiple of alignment");
+ Write_Line (" .Z turn off warnings for record size not a " &
+ "multiple of alignment");
-- Line for -gnatW switch