aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2015-08-25 16:53:24 +0200
committerJoseph Myers <jsm28@gcc.gnu.org>2015-08-25 15:53:24 +0100
commitdb8d09191cdb8d0ef248b86bb0b903a2c59a2ecc (patch)
treeeedc037275e5f4df0607a7f6cd91482de61ee929 /gcc/gcc.c
parent1fe6befc36b72cc4d3abd80ac18c934e1e2459be (diff)
downloadgcc-db8d09191cdb8d0ef248b86bb0b903a2c59a2ecc.zip
gcc-db8d09191cdb8d0ef248b86bb0b903a2c59a2ecc.tar.gz
gcc-db8d09191cdb8d0ef248b86bb0b903a2c59a2ecc.tar.bz2
Expand comment on struct switchstr.
This patch, extracted from a larger change on gomp-4_0-branch, expands a comment documenting struct switchstr in gcc.c. 2015-08-25 Thomas Schwinge <thomas@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * gcc.c (struct switchstr): Expand comment. Co-Authored-By: Joseph Myers <joseph@codesourcery.com> From-SVN: r227173
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 290ec78..312bf04 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -3068,10 +3068,15 @@ execute (void)
SWITCH_LIVE to indicate this switch is true in a conditional spec.
SWITCH_FALSE to indicate this switch is overridden by a later switch.
SWITCH_IGNORE to indicate this switch should be ignored (used in %<S).
- SWITCH_IGNORE_PERMANENTLY to indicate this switch should be ignored
+ SWITCH_IGNORE_PERMANENTLY to indicate this switch should be ignored.
+ SWITCH_KEEP_FOR_GCC to indicate that this switch, otherwise ignored,
+ should be included in COLLECT_GCC_OPTIONS.
in all do_spec calls afterwards. Used for %<S from self specs.
- The `validated' field is nonzero if any spec has looked at this switch;
- if it remains zero at the end of the run, it must be meaningless. */
+ The `known' field describes whether this is an internal switch.
+ The `validated' field describes whether any spec has looked at this switch;
+ if it remains false at the end of the run, the switch must be meaningless.
+ The `ordering' field is used to temporarily mark switches that have to be
+ kept in a specific order. */
#define SWITCH_LIVE (1 << 0)
#define SWITCH_FALSE (1 << 1)