From 0bba2a3eedb2689450ece1d2a9e50aca24fc7409 Mon Sep 17 00:00:00 2001 From: charlet Date: Thu, 16 Jun 2005 08:43:32 +0000 Subject: 2005-06-14 Robert Dewar * opt.ads, opt.adb: New flags for persistent_bss mode Add Ada_Version_Explicit, for implementation of AI-362 Add Assertions_Enabled_Config and associated handling Needed since setting can be changed with Assertion_Policy pragma Add new flag Warn_On_Ada_2005_Compatibility * switch-c.adb: Recognize -gnatwy/Y Set Ada_Version_Explicit, for implementation of AI-362 The -gnatg switch now includes -gnatyu * usage.adb: Add -gnatwy/Y Remove wrong asterisk on -gnatwX line Add line for -gnatyu switch git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101049 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ada/usage.adb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gcc/ada/usage.adb') diff --git a/gcc/ada/usage.adb b/gcc/ada/usage.adb index e57f9ed5b72..dd6e5be802c 100644 --- a/gcc/ada/usage.adb +++ b/gcc/ada/usage.adb @@ -390,7 +390,9 @@ begin Write_Line (" v* turn on warnings for unassigned variable"); Write_Line (" V turn off warnings for unassigned variable"); Write_Line (" x* turn on warnings for export/import"); - Write_Line (" X* turn off warnings for export/import"); + Write_Line (" X turn off warnings for export/import"); + Write_Line (" y* turn on warnings for Ada 2005 incompatibility"); + Write_Line (" Y turn off warnings for Ada 2005 incompatibility"); Write_Line (" z* turn on size/align warnings for " & "unchecked conversion"); Write_Line (" Z turn off size/align warnings for " & @@ -450,6 +452,7 @@ begin Write_Line (" r check casing for identifier references"); Write_Line (" s check separate subprogram specs present"); Write_Line (" t check token separation rules"); + Write_Line (" u check no unnecessary blank lines"); Write_Line (" x check extra parens around conditionals"); -- Lines for -gnatyN switch -- cgit v1.2.1