aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/debug.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2014-06-11 12:55:15 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2014-06-11 12:55:15 +0200
commitb785e0b8753dee45572f0ab735bb8752a3a888b0 (patch)
tree4b9620f7abc9d4d6fc9b39bd50a4d05c5aaf88c8 /gcc/ada/debug.adb
parent2e57f88b778de597f3bd3ed2fbe2b634eb46fc2d (diff)
downloadgcc-b785e0b8753dee45572f0ab735bb8752a3a888b0.zip
gcc-b785e0b8753dee45572f0ab735bb8752a3a888b0.tar.gz
gcc-b785e0b8753dee45572f0ab735bb8752a3a888b0.tar.bz2
[multiple changes]
2014-06-11 Robert Dewar <dewar@adacore.com> * debug.adb: Add debug flag -gnatd.q. * erroutc.adb (Prescan_Message): Bomb if untagged warning with -gnatd.q set. * styleg.adb (Check_Xtra_Parens): Message should be a style message. * sem_aggr.adb, sem_ch3.adb, exp_ch9.adb, checks.adb, sem_prag.adb, par-endh.adb, eval_fat.adb, freeze.adb, sem_util.adb, sem_attr.adb, sem_elab.adb, sem_ch6.adb, sem_warn.adb, sem_cat.adb, sem_ch13.adb, lib-xref.adb: Add remaining warning tags. 2014-06-11 Ben Brosgol <brosgol@adacore.com> * gnat_rm.texi: Revised chapter on Implementation Defined Characteristics. From-SVN: r211448
Diffstat (limited to 'gcc/ada/debug.adb')
-rw-r--r--gcc/ada/debug.adb8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ada/debug.adb b/gcc/ada/debug.adb
index 8399a2c..49fae93 100644
--- a/gcc/ada/debug.adb
+++ b/gcc/ada/debug.adb
@@ -107,7 +107,7 @@ package body Debug is
-- d.n Print source file names
-- d.o Generate .NET listing of CIL code
-- d.p Enable the .NET CIL verifier
- -- d.q
+ -- d.q Quit on badly tagged warning message
-- d.r Enable OK_To_Reorder_Components in non-variant records
-- d.s Disable expansion of slice move, use memmove
-- d.t Disable static allocation of library level dispatch tables
@@ -561,6 +561,12 @@ package body Debug is
-- disabled by default and this flag is used to enable it. In the
-- future we will reverse this functionality.
+ -- d.q All warning and info messages are supposed to be tagged with one
+ -- of the extended warning sequences such as ?? or <x<. The use of a
+ -- single ? or < is allowed for transitional purposes, but these are
+ -- intended to disappear. This debug switch makes it fatal to have a
+ -- warning presented which is not tagged (Program Error is raised).
+
-- d.r Forces the flag OK_To_Reorder_Components to be set in all record
-- base types that have no discriminants.