aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/switch-c.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2009-08-17 12:33:58 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2009-08-17 12:33:58 +0200
commit241bea26410d0aec26d5f98d032061d9fa455a74 (patch)
tree08fd5f5eeb7e7b34ada41c76539af0bee7badf9e /gcc/ada/switch-c.adb
parent5f2d216d27bef0ee6f851e1f75d7b79945504ac5 (diff)
downloadgcc-241bea26410d0aec26d5f98d032061d9fa455a74.zip
gcc-241bea26410d0aec26d5f98d032061d9fa455a74.tar.gz
gcc-241bea26410d0aec26d5f98d032061d9fa455a74.tar.bz2
[multiple changes]
2009-08-17 Vasiliy Fofanov <fofanov@adacore.com> * a-calend-vms.adb: Fix typo. 2009-08-17 Tristan Gingold <gingold@adacore.com> * s-taprop-posix.adb: Round up the stack size to avoid failure on Darwin. 2009-08-17 Gary Dismukes <dismukes@adacore.com> * sem_cat.adb (Validate_Static_Object_Name): Update comment. 2009-08-17 Vincent Celier <celier@adacore.com> * make.adb (Arguments_Collected): Unneeded, removed (Change_To_Object_Directory): Use Project directly. Add pragma Assert to ensure caller does not pass in No_Project. (Compile): Add new parameter Project. Let procedure Collect_Arguments_And_Compile provide the proper value. * switch-c.adb: Add documentation for -gnatea and -gnatez 2009-08-17 Ben Brosgol <brosgol@adacore.com> * gnat_ugn.texi: Changed name of package in SAL example, to avoid clash with Ada 2005 reserved word (interface). From-SVN: r150838
Diffstat (limited to 'gcc/ada/switch-c.adb')
-rw-r--r--gcc/ada/switch-c.adb15
1 files changed, 13 insertions, 2 deletions
diff --git a/gcc/ada/switch-c.adb b/gcc/ada/switch-c.adb
index 6825f4e..1ecae61 100644
--- a/gcc/ada/switch-c.adb
+++ b/gcc/ada/switch-c.adb
@@ -309,6 +309,11 @@ package body Switch.C is
case Switch_Chars (Ptr) is
+ -- -gnatea (initial delimiter of explicit switches)
+ -- All switches that come before -gnatea have been added by
+ -- the GCC driver and are not stored in the ALI file.
+ -- See also -gnatez below.
+
when 'a' =>
Store_Switch := False;
Enable_Switch_Storing;
@@ -462,14 +467,20 @@ package body Switch.C is
Ptr := Max + 1;
- -- -gnatez ???
+ -- -gnatez (final delimiter of explicit switches)
+ -- All switches that come after -gnatez have been added by
+ -- the GCC driver and are not stored in the ALI file.
+ -- See also -gnatea above.
when 'z' =>
Store_Switch := False;
Disable_Switch_Storing;
Ptr := Ptr + 1;
- -- -gnateS (Store SCO information)
+ -- -gnateS (generate SCO information)
+ -- Include Source Coverage Obligation information in ALI
+ -- files for the benefit of source coverage analysis tools
+ -- (xcov).
when 'S' =>
Generate_SCO := True;