summaryrefslogtreecommitdiff
path: root/gcc/ada/switch-c.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-17 10:33:58 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-17 10:33:58 +0000
commit9a5dc427e3be0b95455a11134f8162037234f579 (patch)
tree08fd5f5eeb7e7b34ada41c76539af0bee7badf9e /gcc/ada/switch-c.adb
parentcdaf90c45ab90ad379b6120042af5eff44e16948 (diff)
downloadgcc-9a5dc427e3be0b95455a11134f8162037234f579.tar.gz
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). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150838 138bc75d-0d04-0410-961f-82ee72b054a4
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 6825f4ec038..1ecae61a013 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;