diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-06-11 10:55:15 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-06-11 10:55:15 +0000 |
commit | 1581f2d70893931e3240d5726d3be6fde1567606 (patch) | |
tree | 4b9620f7abc9d4d6fc9b39bd50a4d05c5aaf88c8 /gcc/ada/debug.adb | |
parent | 7c1622f9a4113017ac37b0acda6786b6a29b3b75 (diff) | |
download | gcc-1581f2d70893931e3240d5726d3be6fde1567606.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211448 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/debug.adb')
-rw-r--r-- | gcc/ada/debug.adb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ada/debug.adb b/gcc/ada/debug.adb index 8399a2c9900..49fae93306b 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. |