aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/opts.h')
-rw-r--r--gcc/opts.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/opts.h b/gcc/opts.h
index 554bb23..fbc86b1 100644
--- a/gcc/opts.h
+++ b/gcc/opts.h
@@ -117,6 +117,14 @@ struct cl_decoded_option
-frecord-gcc-switches. */
const char *orig_option_with_args_text;
+ /* The canonical form of the option and its argument, for when it is
+ necessary to reconstruct argv elements (in particular, for
+ processing specs and passing options to subprocesses from the
+ driver). The first element of this array is non-NULL; the second
+ is NULL if the canonical form uses only one argv element,
+ non-NULL otherwise. */
+ const char *canonical_option[2];
+
/* For a boolean option, 1 for the true case and 0 for the "no-"
case. For an unsigned integer option, the value of the
argument. 1 in all other cases. */