summaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-25 14:53:24 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-25 14:53:24 +0000
commitfd7b19dcac76d822e3688978d037a0e94ea8e44d (patch)
treeeedc037275e5f4df0607a7f6cd91482de61ee929 /gcc/gcc.c
parentde0c53e1a7e99c0a4ef0cc940cc22378a4530059 (diff)
downloadgcc-fd7b19dcac76d822e3688978d037a0e94ea8e44d.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227173 138bc75d-0d04-0410-961f-82ee72b054a4
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 290ec78d088..312bf04b47e 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)