aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/usage.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2017-05-02 11:00:48 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2017-05-02 11:00:48 +0200
commitb55993b3534aaa8ddc062e1b7373b21eb57f6c2c (patch)
treea8e1b9fa2566543849ab2b43436be26261d8863f /gcc/ada/usage.adb
parenta6354842df32417f55a9635e98f7e00bd412e13a (diff)
downloadgcc-b55993b3534aaa8ddc062e1b7373b21eb57f6c2c.zip
gcc-b55993b3534aaa8ddc062e1b7373b21eb57f6c2c.tar.gz
gcc-b55993b3534aaa8ddc062e1b7373b21eb57f6c2c.tar.bz2
[multiple changes]
2017-05-02 Justin Squirek <squirek@adacore.com> * sem_ch4.adb (Analyze_Case_Expression): Add check for valid alternative expression. * sem_res.adb (Resolve_Case_Expression): Ditto. 2017-05-02 Ed Schonberg <schonberg@adacore.com> * exp_disp.adb (Set_All_DT_Position, In_Predef_Prim_DT): Refine predicate for the case where the primitive operation is a renaming of equality. An overriding operation that is a user-defined renaming of predefined equality inherits its slot from the overridden operation. Otherwise it is treated as a predefined op and occupies the same predefined slot as equality. A call to it is transformed into a call to its alias, which is the predefined equality. A dispatching call thus uses the proper slot if operation is further inherited and called with class-wide arguments. 2017-05-02 Justin Squirek <squirek@adacore.com> * errout.adb (Set_Msg_Text): Add a case to switch the message type when the character '[' is detected signifying a warning about a run-time exception. * opt.ads Add a new Warning_Mode value for new switch * switch-b.adb (Scan_Binder_Switches): Add case for the binder to handle new warning mode * usage.adb (Usage): Add usage entry for -gnatwE * warnsw.adb (Set_Warning_Switch): Add case for the new switch 2017-05-02 Ed Schonberg <schonberg@adacore.com> * sem_prag.adb (Process_Conversion): Reject an intrinsic operator declaration that operates on some fixed point type. 2017-05-02 Justin Squirek <squirek@adacore.com> * a-crbtgo.adb, s-taasde.adb: Remove unused use-type clauses. From-SVN: r247478
Diffstat (limited to 'gcc/ada/usage.adb')
-rw-r--r--gcc/ada/usage.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ada/usage.adb b/gcc/ada/usage.adb
index 8eb362f..5e3ecbd 100644
--- a/gcc/ada/usage.adb
+++ b/gcc/ada/usage.adb
@@ -488,6 +488,7 @@ begin
Write_Line (" e treat all warnings (but not info) as errors");
Write_Line (" .e turn on every optional info/warning " &
"(no exceptions)");
+ Write_Line (" E treat all run time warnings as errors");
Write_Line (" f+ turn on warnings for unreferenced formal");
Write_Line (" F* turn off warnings for unreferenced formal");
Write_Line (" .f turn on warnings for suspicious Subp'Access");