aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/restrict.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2014-05-21 13:05:25 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2014-05-21 13:05:25 +0200
commit17cf9038e10e7b5249645d22621287ffb8280143 (patch)
treec4ae7b5f562ad64a46ade314191f1169ecc0f74d /gcc/ada/restrict.adb
parent632f2871edb2859c94d8fca573a1f74606a14332 (diff)
downloadgcc-17cf9038e10e7b5249645d22621287ffb8280143.zip
gcc-17cf9038e10e7b5249645d22621287ffb8280143.tar.gz
gcc-17cf9038e10e7b5249645d22621287ffb8280143.tar.bz2
[multiple changes]
2014-05-21 Robert Dewar <dewar@adacore.com> * gnat_ugn.texi: Clearly document -gnatw.g (GNAT warnings). Clearly document -gnatyg (GNAT style switches). * usage.adb: Add line line for -gnatw.g (GNAT warnings) More detail for line for -gnatyg (GNAT style switches) -gnatw.d/D is available for VMS after all. * warnsw.adb: Reorganize to eliminate duplicated code (Restore_Warnings): Add a couple of missing entries (Save_Warnings): Add a couple of missing entries. * warnsw.ads: Add missing entries to Warning_Record (not clear what the impact is). 2014-05-21 Robert Dewar <dewar@adacore.com> * errout.adb (Set_Msg_Insertion_Warning): Handle ?*? (restriction warning) case. * errout.ads: Document ?*? (restriction warning) insertion. * erroutc.adb (Get_Warning_Tag): Deal with ?*? (restriction warning) case. * erroutc.ads: Document use of * for restriction warning tag. * restrict.adb (Restriction_Msg): Tag with ?*? instead of ??. 2014-05-21 Ed Schonberg <schonberg@adacore.com> * sem_ch9.adb (Push_Scope_And_Install_Discriminants): Do not make discriminants immediately visible when analyzing an aspect of a subtype declaration. (Uninstall_Discriminants): Do not apply to the entity in a subtype declaration. From-SVN: r210693
Diffstat (limited to 'gcc/ada/restrict.adb')
-rw-r--r--gcc/ada/restrict.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/restrict.adb b/gcc/ada/restrict.adb
index 01cd907..abf294a 100644
--- a/gcc/ada/restrict.adb
+++ b/gcc/ada/restrict.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2013, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2014, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -1047,7 +1047,7 @@ package body Restrict is
-- Set warning message if warning
if Restriction_Warnings (R) then
- Add_Str ("??");
+ Add_Str ("?*?");
-- If real violation (not warning), then mark it as non-serious unless
-- it is a violation of No_Finalization in which case we leave it as a